.travis.yml 811 B

123456789101112131415161718192021222324252627282930313233343536
  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. - mysql
  13. php:
  14. - 7.3
  15. matrix:
  16. fast_finish: true
  17. before_script:
  18. - cp app/config/parameters.yml.dist app/config/parameters.yml
  19. - 'echo " github.client_id: $GH_CLIENT_ID" >> app/config/parameters.yml'
  20. - 'echo " github.client_secret: $GH_CLIENT_SECRET" >> app/config/parameters.yml'
  21. - composer install
  22. - app/console doctrine:database:create --env=test -n
  23. - app/console doctrine:schema:create --env=test -n
  24. script:
  25. - vendor/bin/phpunit
  26. git:
  27. depth: 5