Skip to content

Commit c38e5fe

Browse files
committed
[TEST] (Hundred and one time's a charm) more Java8 JRE tweaks
1 parent 2cef10d commit c38e5fe

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ language: php
33
jdk:
44
- oraclejdk8
55

6+
addons:
7+
apt:
8+
packages:
9+
- oracle-java8-installer
10+
611
branches:
712
except:
813
- 0.4
@@ -22,9 +27,9 @@ env:
2227
- ES_VERSION="master"
2328
- TEST_BUILD_REF="origin/master"
2429
- ES_TEST_HOST=http://localhost:9200
30+
- JAVA_HOME="/usr/lib/jvm/java-8-oracle/jre"
2531

2632
before_install:
27-
- java install oraclejdk8
2833
- ./travis/download_and_run_es.sh
2934

3035
install:

travis/download_and_run_es.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ fi;
77

88
killall java 2>/dev/null
99

10+
11+
which java
1012
java -version
1113

14+
1215
echo "Downloading Elasticsearch v${ES_VERSION}-SNAPSHOT..."
1316

1417
ES_URL=$(curl -sS "https://esvm-props.kibana.rocks/builds" | jq -r ".branches[\"$ES_VERSION\"].zip")

0 commit comments

Comments
 (0)