.travis.yml 628 B

1234567891011121314151617181920212223242526272829
  1. language: php
  2. php:
  3. - 5.4
  4. - 5.5
  5. - 5.6
  6. - 7.0
  7. # - hhvm
  8. # faster builds on new travis setup not using sudo
  9. sudo: false
  10. # cache vendor dirs
  11. cache:
  12. directories:
  13. - $HOME/.composer/cache
  14. install:
  15. - travis_retry composer self-update && composer --version
  16. - travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1"
  17. - travis_retry composer update --dev --prefer-dist --no-interaction
  18. # setup application:
  19. - |
  20. sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" config/web.php
  21. script:
  22. - |
  23. php -S localhost:8080 -t web > /dev/null 2>&1 &
  24. vendor/bin/codecept run