.travis.yml 642 B

1234567891011121314151617181920212223242526272829303132333435
  1. language: php
  2. sudo: false
  3. php:
  4. - 5.6
  5. - 7.0
  6. - 7.0snapshot
  7. - 7.1
  8. - 7.1snapshot
  9. - 7.2
  10. - 7.2snapshot
  11. - master
  12. env:
  13. matrix:
  14. - DEPENDENCIES="high"
  15. - DEPENDENCIES="low"
  16. global:
  17. - DEFAULT_COMPOSER_FLAGS="--no-interaction --no-ansi --no-progress --no-suggest"
  18. before_install:
  19. - composer self-update
  20. - composer clear-cache
  21. install:
  22. - if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS; fi
  23. - if [[ "$DEPENDENCIES" = 'low' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS --prefer-lowest; fi
  24. script:
  25. - php phpunit.phar
  26. notifications:
  27. email: false