.travis.yml 641 B

123456789101112131415161718192021222324252627282930313233343536
  1. language: php
  2. sudo: false
  3. php:
  4. - '7.1'
  5. - '7.2'
  6. - nightly
  7. matrix:
  8. fast_finish: true
  9. include:
  10. - php: '7.1'
  11. env: COMPOSER_FLAGS="--prefer-lowest"
  12. allow_failures:
  13. - php: nightly
  14. cache:
  15. directories:
  16. - $HOME/.composer/cache/files
  17. install:
  18. - composer update --no-interaction --no-progress --no-suggest --prefer-dist $COMPOSER_FLAGS
  19. - wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar
  20. before_script:
  21. - mkdir -p build/logs
  22. script:
  23. - vendor/bin/phpunit --coverage-clover build/logs/clover.xml
  24. after_script:
  25. - php coveralls.phar -v
  26. notifications:
  27. email: false