Skip to content

Commit 3e1dd08

Browse files
committed
Fix travis CI for 5.0.0 SNAPSHOT
1 parent a64fa04 commit 3e1dd08

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@ python:
77
- "2.7"
88
- "3.3"
99
- "3.4"
10+
- "3.5"
1011

1112
env:
1213
# different connection classes to test
1314
- TEST_ES_CONNECTION=Urllib3HttpConnection
1415
- TEST_ES_CONNECTION=RequestsHttpConnection
1516

1617
install:
17-
- mkdir /tmp/elasticsearch
18-
- wget -O - http://s3-eu-west-1.amazonaws.com/build.eu-west-1.elastic.co/origin/2.0/nightly/JDK7/elasticsearch-latest-SNAPSHOT.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
19-
- /tmp/elasticsearch/bin/elasticsearch -d --path.data /tmp --discovery.zen.ping.multicast.enabled false --script.inline on --script.indexed on --path.repo=/tmp --repositories.url.allowed_urls='http://*' --node.testattr=test
18+
- wget -O /tmp/es-snap.zip "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.elasticsearch.distribution.zip&a=elasticsearch&e=zip&v=5.0.0-SNAPSHOT"
19+
- unzip /tmp/es-snap.zip -d /tmp/
20+
- mv /tmp/elasticsearch-5.0.0-SNAPSHOT /tmp/elasticsearch
21+
- /tmp/elasticsearch/bin/elasticsearch -E script.inline=true -E path.repo=/tmp -E repositories.url.allowed_urls='http://*' -E node.attr.testattr=test
2022
- git clone https://github.com/elastic/elasticsearch.git ../elasticsearch
2123
- pip install .
2224

0 commit comments

Comments
 (0)