.travis.yml 697 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. language: php
  2. sudo: false
  3. cache:
  4. directories:
  5. - $HOME/.composer/cache/files
  6. php:
  7. - 5.4
  8. - 5.5
  9. - 5.6
  10. - 7.0
  11. - 7.1
  12. - 7.2
  13. - hhvm
  14. matrix:
  15. include:
  16. - php: 5.3
  17. dist: precise
  18. - php: 7.2
  19. env: SYMFONY_VERSION='^2'
  20. - php: 7.2
  21. env: SYMFONY_VERSION='^3'
  22. # Test against dev dependencies
  23. - php: 7.2
  24. env: DEPS=dev
  25. before_install:
  26. - if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/lts=$SYMFONY_VERSION; fi;
  27. - if [ "$DEPS" = 'dev' ]; then composer config minimum-stability dev; fi;
  28. install:
  29. - composer install --no-progress
  30. script:
  31. - vendor/bin/phpspec run -f pretty
  32. - vendor/bin/behat -fprogress --strict