.travis.yml 496 B

1234567891011121314151617181920212223242526272829
  1. language: php
  2. sudo: false
  3. cache:
  4. directories:
  5. - $HOME/.composer/cache
  6. services:
  7. - redis-server
  8. php:
  9. - 5.6
  10. - 7.0
  11. matrix:
  12. fast_finish: true
  13. before_script:
  14. - curl -sSL https://raw.githubusercontent.com/moliware/travis-solr/master/travis-solr.sh | SOLR_VERSION=3.5.0 SOLR_CONFS="doc/schema.xml" bash
  15. - cp app/config/parameters.yml.dist app/config/parameters.yml
  16. - composer install
  17. - app/console doc:sch:create --env=test -n
  18. script:
  19. - phpunit
  20. git:
  21. depth: 5