.travis.yml 532 B

123456789101112131415161718192021222324252627282930313233
  1. language: php
  2. php:
  3. - 5.5
  4. - 5.6
  5. - 7
  6. - hhvm
  7. matrix:
  8. fast_finish: true
  9. allow_failures:
  10. - php: hhvm
  11. env:
  12. matrix:
  13. - LOWEST_DEPS="" TEST_DEPS=""
  14. - LOWEST_DEPS="--prefer-lowest" TEST_DEPS="tests/Sabre/"
  15. services:
  16. - mysql
  17. sudo: false
  18. cache: vendor
  19. before_script:
  20. - mysql -e 'create database sabredav'
  21. # - composer self-update
  22. - composer update --prefer-source $LOWEST_DEPS
  23. script:
  24. - ./bin/phpunit --configuration tests/phpunit.xml $TEST_DEPS
  25. - ./bin/sabre-cs-fixer fix lib/ --dry-run --diff