Skip to content

Commit 3c8b361

Browse files
author
adithya.sathu
committed
feat: compatible elasticsearch version requires compatible java too
1 parent f430274 commit 3c8b361

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ language: node_js
55
node_js:
66
- '10'
77

8-
addons:
9-
apt:
10-
packages:
11-
- oracle-java11-installer
8+
jdk: oraclejdk11
129

1310
before_install:
14-
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.6.2-amd64.deb && sudo dpkg -i --force-confnew elasticsearch-7.6.2-amd64.deb && sudo service elasticsearch restart
11+
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.6.2-amd64.deb && sudo dpkg -i --force-confnew elasticsearch-7.6.2-amd64.deb && sudo chown -R elasticsearch:elasticsearch /etc/default/elasticsearch && sudo service elasticsearch restart
12+
13+
before_script:
14+
- sleep 10
1515

1616
services:
1717
- mongodb

0 commit comments

Comments
 (0)