.travis.yml 788 B

12345678910111213141516171819202122232425262728293031323334
  1. language: php
  2. sudo: false
  3. env:
  4. global:
  5. secure: "ejwL5+8AWrlcno3bSOfLNgNEGe6Kdegk19dr/It4QCZDw9Vs5nmuUq3e7sZ0+CSLVoo5q3L1Zs0YbkDdgkFA8Z2zWyhWxNjIWx+qb1aDh7ffSSileVRiw8ReQ14GiXxGTi0V5zR2zNwY5KdJNor0CsV8hOgZmFz6/qEUzXWY9Kw="
  6. cache:
  7. directories:
  8. - $HOME/.composer/cache
  9. services:
  10. - redis-server
  11. php:
  12. - 7.0
  13. matrix:
  14. fast_finish: true
  15. before_script:
  16. - cp app/config/parameters.yml.dist app/config/parameters.yml
  17. - 'echo " github.client_id: $GH_CLIENT_ID" >> app/config/parameters.yml'
  18. - 'echo " github.client_secret: $GH_CLIENT_SECRET" >> app/config/parameters.yml'
  19. - composer install
  20. - app/console doctrine:database:create --env=test -n
  21. - app/console doctrine:schema:create --env=test -n
  22. script:
  23. - vendor/bin/phpunit
  24. git:
  25. depth: 5