Skip to content

Commit 76e621c

Browse files
committed
[TEST] Master tests only track ES-master (5.0 alpha) now
1 parent eb48dab commit 76e621c

File tree

2 files changed

+8
-22
lines changed

2 files changed

+8
-22
lines changed

.travis.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,11 @@ php:
1313
- 5.4
1414
- hhvm
1515

16-
matrix:
17-
fast_finish: true
18-
include:
19-
- php: 5.6
20-
env: ES_VERSION="2.1" TEST_BUILD_REF="origin/2.1"
21-
- php: 5.6
22-
env: ES_VERSION="2.0" TEST_BUILD_REF="origin/2.0"
23-
- php: 5.6
24-
env: ES_VERSION="1.7" TEST_BUILD_REF="origin/1.7"
25-
- php: 5.6
26-
env: ES_VERSION="1.6" TEST_BUILD_REF="origin/1.6"
27-
allow_failures:
28-
- php: hhvm
2916

3017
env:
3118
global:
32-
- ES_VERSION="2.2"
33-
- TEST_BUILD_REF="origin/2.2"
19+
- ES_VERSION="master"
20+
- TEST_BUILD_REF="origin/master"
3421
- ES_TEST_HOST=http://localhost:9200
3522

3623
before_install:

travis/download_and_run_es.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,14 @@ echo "Adding repo to config..."
1919
find . -name "elasticsearch.yml" | while read TXT ; do echo 'repositories.url.allowed_urls: ["http://*"]' >> $TXT ; done
2020
find . -name "elasticsearch.yml" | while read TXT ; do echo 'path.repo: ["/tmp"]' >> $TXT ; done
2121

22-
23-
2422
echo "Starting Elasticsearch v${ES_VERSION}"
23+
2524
./elasticsearch-*/bin/elasticsearch \
26-
-Des.network.host=localhost \
27-
-Des.discovery.zen.ping.multicast.enabled=false \
28-
-Des.discovery.zen.ping_timeout=1s \
29-
-Des.http.port=9200 \
30-
-Des.node.testattr=test \
25+
-E es.network.host=localhost \
26+
-E es.discovery.zen.ping_timeout=1s \
27+
-E es.http.port=9200 \
28+
-E es.discovery.zen.minimum_master_nodes=1 \
3129
-d
3230

31+
3332
sleep 3

0 commit comments

Comments
 (0)