.travis.yml 635 B

1234567891011121314151617181920212223242526272829
  1. language: php
  2. php:
  3. - 5.4
  4. - 5.5
  5. - 5.6
  6. - 7.0
  7. - 7.1
  8. - nightly # ignore errors, see below
  9. - hhvm # ignore errors, see below
  10. # lock distro so new future defaults will not break the build
  11. dist: trusty
  12. matrix:
  13. allow_failures:
  14. - php: hhvm
  15. - php: nightly
  16. install:
  17. - composer install
  18. script:
  19. - ./vendor/bin/phpunit -v --coverage-text --coverage-clover=./build/logs/clover.xml
  20. after_script:
  21. - if [ -f ./build/logs/clover.xml ]; then travis_retry composer require satooshi/php-coveralls --no-interaction --update-with-dependencies; fi
  22. - if [ -f ./build/logs/clover.xml ]; then php vendor/bin/coveralls -v; fi