.travis.yml 608 B

12345678910111213141516171819202122232425262728293031323334
  1. language: php
  2. sudo: false
  3. cache:
  4. directories:
  5. - vendor
  6. - $HOME/.composer/cache/files
  7. env:
  8. - DEPS=no
  9. before_install:
  10. - phpenv config-rm xdebug.ini
  11. before_script:
  12. - if [ "$DEPS" == "low" ]; then composer --prefer-lowest --prefer-stable update; fi;
  13. - if [ "$DEPS" == "no" ]; then composer install; fi;
  14. script: |
  15. ./vendor/bin/simple-phpunit
  16. matrix:
  17. include:
  18. - php: 5.3
  19. dist: precise
  20. - php: 5.4
  21. - php: 5.5
  22. - php: 5.6
  23. env: DEPS=low
  24. - php: 7.0
  25. - php: 7.1
  26. - php: 7.2
  27. fast_finish: true