.travis.yml 845 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. language: php
  2. php:
  3. - 5.4
  4. - 5.5
  5. - 5.6
  6. - 7.0
  7. - hhvm
  8. matrix:
  9. fast_finish: true
  10. include:
  11. - php: 5.4
  12. env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable' SYMFONY_DEPRECATIONS_HELPER=weak
  13. - php: 5.6
  14. env: DEPENDENCIES=dev
  15. allow_failures:
  16. - php: 7.0
  17. - php: hhvm
  18. cache:
  19. directories:
  20. - $HOME/.composer/cache/files
  21. before_install:
  22. - composer self-update
  23. - if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
  24. install:
  25. - composer update $COMPOSER_FLAGS
  26. before_script:
  27. - mkdir -p /tmp/jcalderonzumba/phantomjs
  28. script:
  29. - bin/run-tests.sh
  30. after_script:
  31. - ps axo pid,command | grep phantomjs | grep -v grep | awk '{print $1}' | xargs -I {} kill {}
  32. - ps axo pid,command | grep php | grep -v grep | awk '{print $1}' | xargs -I {} kill {}