.travis.yml 937 B

1234567891011121314151617181920212223242526272829303132333435
  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. - 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. - 'curl -sSL https://raw.githubusercontent.com/moliware/travis-solr/master/travis-solr.sh | SOLR_VERSION=3.6.0 SOLR_CONFS="doc" SOLR_CORE="collection1" bash'
  20. - composer install
  21. - app/console doctrine:database:create --env=test -n
  22. - app/console doctrine:schema:create --env=test -n
  23. script:
  24. - phpunit
  25. git:
  26. depth: 5