Skip to content

Commit 0983b3e

Browse files
committed
Run tests on Elasticsearch 2.1 only
1 parent fb4216d commit 0983b3e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.travis.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,21 @@ php:
55
- 5.6
66
- 7.0
77
- hhvm
8+
env:
9+
global:
10+
- ES_VERSION="2.1.1"
11+
- SYMFONY="~3.0"
812
matrix:
913
allow_failures:
1014
- php: hhvm
11-
env:
12-
- SYMFONY="2.7.*"
13-
- SYMFONY="~3.0"
14-
services:
15-
- elasticsearch
15+
include:
16+
- php: 7.0
17+
env: SYMFONY="2.7.*"
1618
install:
1719
- composer require --no-update symfony/symfony:${SYMFONY}
20+
- wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
21+
- tar -xzf elasticsearch-${ES_VERSION}.tar.gz
22+
- ./elasticsearch-${ES_VERSION}/bin/elasticsearch > /dev/null 2>&1 &
1823
before_script:
1924
- composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH
2025
- composer install --no-interaction --prefer-dist

0 commit comments

Comments
 (0)