.travis.yml 685 B

1234567891011121314151617181920212223242526272829303132333435
  1. language: php
  2. php:
  3. - 5.5
  4. - 5.6
  5. - 7.0
  6. - 7.1
  7. - hhvm
  8. - nightly
  9. matrix:
  10. allow_failures:
  11. - php:
  12. - hhvm
  13. - nightly
  14. cache:
  15. directories:
  16. - $HOME/.composer/cache
  17. script:
  18. - vendor/bin/phpunit --coverage-clover=coverage.clover -v
  19. - composer update --no-interaction --prefer-source
  20. - vendor/bin/phpunit -v
  21. before_script:
  22. - composer install --no-interaction
  23. after_script:
  24. - if [ $TRAVIS_PHP_VERSION = '5.6' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
  25. notifications:
  26. irc: "irc.freenode.org#phpdocumentor"
  27. email:
  28. - me@mikevanriel.com
  29. - ashnazg@php.net