Skip to content

Commit

Permalink
[TEST] Master tests only track ES-master (5.0 alpha) now
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Mar 30, 2016
1 parent eb48dab commit 76e621c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
17 changes: 2 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,11 @@ php:
- 5.4
- hhvm

matrix:
fast_finish: true
include:
- php: 5.6
env: ES_VERSION="2.1" TEST_BUILD_REF="origin/2.1"
- php: 5.6
env: ES_VERSION="2.0" TEST_BUILD_REF="origin/2.0"
- php: 5.6
env: ES_VERSION="1.7" TEST_BUILD_REF="origin/1.7"
- php: 5.6
env: ES_VERSION="1.6" TEST_BUILD_REF="origin/1.6"
allow_failures:
- php: hhvm

env:
global:
- ES_VERSION="2.2"
- TEST_BUILD_REF="origin/2.2"
- ES_VERSION="master"
- TEST_BUILD_REF="origin/master"
- ES_TEST_HOST=http://localhost:9200

before_install:
Expand Down
13 changes: 6 additions & 7 deletions travis/download_and_run_es.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ echo "Adding repo to config..."
find . -name "elasticsearch.yml" | while read TXT ; do echo 'repositories.url.allowed_urls: ["http://*"]' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'path.repo: ["/tmp"]' >> $TXT ; done



echo "Starting Elasticsearch v${ES_VERSION}"

./elasticsearch-*/bin/elasticsearch \
-Des.network.host=localhost \
-Des.discovery.zen.ping.multicast.enabled=false \
-Des.discovery.zen.ping_timeout=1s \
-Des.http.port=9200 \
-Des.node.testattr=test \
-E es.network.host=localhost \
-E es.discovery.zen.ping_timeout=1s \
-E es.http.port=9200 \
-E es.discovery.zen.minimum_master_nodes=1 \
-d


sleep 3

0 comments on commit 76e621c

Please sign in to comment.