.travis.yml 946 B

123456789101112131415161718192021222324252627282930313233343536
  1. language: php
  2. sudo: false
  3. env:
  4. global:
  5. secure: E9/Y2vJv4GGGdjRZUJuL31q79C2dbgL1yNcclE4MIPXrPWe5f0LuQMwCGbaGN+b6u/VX6YQL6OcFt+VsxL5e439EoYMMY+MmUeDnq5jRzPOVZqgXlNZAxh4KzoNh3Q2nXp6uSr+yaNCFedcx1Os7n5CoLwqji+TATsTPZ1EEDqI=
  6. cache:
  7. directories:
  8. - $HOME/.composer/cache
  9. services:
  10. - redis-server
  11. php:
  12. - 5.6
  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. - 'curl -sSL https://raw.githubusercontent.com/Seldaek/travis-solr/patch-1/travis-solr.sh | SOLR_VERSION=3.6.0 SOLR_CONFS="doc/" SOLR_CORE="collection1" bash'
  21. - composer install
  22. - app/console doctrine:database:create --env=test -n
  23. - app/console doctrine:schema:create --env=test -n
  24. script:
  25. - phpunit
  26. git:
  27. depth: 5