.travis.yml 691B

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