.travis.yml 908 B

123456789101112131415161718192021222324252627282930313233343536
  1. language: php
  2. matrix:
  3. fast_finish: true
  4. include:
  5. - php: 5.3
  6. env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
  7. - php: 7.0
  8. env: LINT_TEST_CASES=1
  9. - php: hhvm
  10. - php: 5.4
  11. - php: 5.5
  12. - php: 5.6
  13. - php: 7.0
  14. env: SYMFONY_VERSION="^2.8"
  15. sudo: false
  16. cache:
  17. directories:
  18. - $HOME/.composer/cache
  19. before_install:
  20. - git config --global github.accesstoken 5e7538aa415005c606ea68de2bbbade0409b4b8c
  21. - 'if [ "$SYMFONY_VERSION" != "" ]; then sed -i "s/\"symfony\/\([^\"]*\)\": \"^2[^\"]*\"/\"symfony\/\1\": \"$SYMFONY_VERSION\"/g" composer.json; fi'
  22. install:
  23. - travis_retry composer update $COMPOSER_FLAGS --no-interaction
  24. script:
  25. - composer test-ci
  26. - phpenv config-rm xdebug.ini || return 0
  27. - php php-cs-fixer --diff --dry-run -v fix
  28. after_success:
  29. - php vendor/bin/coveralls -v