File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 11language : python
22
3- sudo : false
4-
53python :
64 - " 2.6"
75 - " 2.7"
86 - " 3.3"
97 - " 3.4"
108 - " 3.5"
119
12- jdk :
13- - " oraclejdk8"
10+ addons :
11+ apt :
12+ packages :
13+ - oracle-java8-installer
1414
1515env :
1616 # different connection classes to test
17- - TEST_ES_CONNECTION=Urllib3HttpConnection
18- - TEST_ES_CONNECTION=RequestsHttpConnection
17+ - TEST_ES_CONNECTION=Urllib3HttpConnection ES_VERSION=5.0.0
18+ - TEST_ES_CONNECTION=RequestsHttpConnection ES_VERSION=5.0.0
19+
20+ before_install :
21+ - sudo update-java-alternatives -s java-8-oracle
22+ - export JAVA_HOME=/usr/lib/jvm/java-8-oracle/jre
23+ - java -version
1924
2025install :
21- - 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"
26+ - curl -L -o /tmp/es-snap.zip https://artifacts.elastic.co/downloads/elasticsearch/ elasticsearch-${ES_VERSION}. zip
2227 - unzip /tmp/es-snap.zip -d /tmp/
23- - mv /tmp/elasticsearch-5.0.0-SNAPSHOT /tmp/elasticsearch
24- - /tmp/elasticsearch/bin/elasticsearch -E script.inline=true -E path.repo=/tmp -E repositories.url.allowed_urls='http://*' -E node.attr.testattr=test
28+ - /tmp/elasticsearch-*/bin/elasticsearch -E script.inline=true -E path.repo=/tmp -E repositories.url.allowed_urls='http://*' -E node.attr.testattr=test -d
2529 - git clone https://github.com/elastic/elasticsearch.git ../elasticsearch
2630 - pip install .
2731
You can’t perform that action at this time.
0 commit comments