Skip to content

Commit 18e5a14

Browse files
committed
Install from deb package
1 parent 1c19d06 commit 18e5a14

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ addons:
1010
jobs:
1111
include:
1212
- python: 3.6
13-
env: TOXENV=py36,codecov TOX_POSARGS='' ES_VERSION=7.9.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}-linux-aarch64.tar.gz
13+
env: TOXENV=py36,codecov TOX_POSARGS='' ES_VERSION=7.9.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}-amd64.deb
1414
- python: 3.6
1515
env: TOXENV=docs
1616
- python: 3.6
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
if [ $ES_DOWNLOAD_URL ]
22
then
33
wget ${ES_DOWNLOAD_URL}
4-
tar -xzf elasticsearch-${ES_VERSION}-linux-aarch64.tar.gz
5-
./elasticsearch-${ES_VERSION}/bin/elasticsearch-plugin install analysis-icu
6-
./elasticsearch-${ES_VERSION}/bin/elasticsearch -d
4+
sudo dpkg -i elasticsearch-${ES_VERSION}-amd64.deb
5+
sudo /bin/systemctl daemon-reload
6+
sudo /bin/systemctl enable elasticsearch.service
77
fi

0 commit comments

Comments
 (0)