.travis.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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/moliware/travis-solr/master/travis-solr.sh | SOLR_VERSION=3.6.0 SOLR_CONFS="doc/" SOLR_CORE="collection1" bash'
  21. - ls -la apache-solr-3.6.0/example/multicore/collection1/conf
  22. - 'curl -v http://localhost:8983/solr/admin/cores'
  23. - composer install
  24. - app/console doctrine:database:create --env=test -n
  25. - app/console doctrine:schema:create --env=test -n
  26. script:
  27. - phpunit
  28. git:
  29. depth: 5