Skip to content

Commit bf26cfe

Browse files
committed
Elasticsearch 7.x comes with java bundled
1 parent d237307 commit bf26cfe

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.travis.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
language: python
22

3-
addons:
4-
apt:
5-
packages:
6-
- oracle-java8-installer
7-
8-
before_install:
9-
- sudo update-java-alternatives -s java-8-oracle
10-
- export JAVA_HOME=/usr/lib/jvm/java-8-oracle/jre
11-
- java -version
12-
133
python:
144
- "2.7"
155
- "3.4"
@@ -27,7 +17,7 @@ env:
2717

2818
install:
2919
- mkdir /tmp/elasticsearch
30-
- wget -O - https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
20+
- wget -O - https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}-linux-x86_64.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
3121
- /tmp/elasticsearch/bin/elasticsearch -d
3222
- travis_retry pip install --upgrade pytest
3323
- travis_retry pip install git+https://github.com/elastic/elasticsearch-py.git@${ES_PY_VERSION}#egg=elasticsearch

0 commit comments

Comments
 (0)