.travis.yml 800 B

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