diff --git a/.travis.yml b/.travis.yml index 82dad77d..68cb61b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,16 +5,21 @@ php: - 5.6 - 7.0 - hhvm +env: + global: + - ES_VERSION="2.1.1" + - SYMFONY="~3.0" matrix: allow_failures: - php: hhvm -env: - - SYMFONY="2.7.*" - - SYMFONY="~3.0" -services: - - elasticsearch + include: + - php: 7.0 + env: SYMFONY="2.7.*" install: - composer require --no-update symfony/symfony:${SYMFONY} + - wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz + - tar -xzf elasticsearch-${ES_VERSION}.tar.gz + - ./elasticsearch-${ES_VERSION}/bin/elasticsearch > /dev/null 2>&1 & before_script: - composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH - composer install --no-interaction --prefer-dist