Skip to content

Commit

Permalink
[TEST] (Hundred and one time's a charm) more Java8 JRE tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Apr 1, 2016
1 parent 2cef10d commit c38e5fe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Expand Up @@ -3,6 +3,11 @@ language: php
jdk:
- oraclejdk8

addons:
apt:
packages:
- oracle-java8-installer

branches:
except:
- 0.4
Expand All @@ -22,9 +27,9 @@ env:
- ES_VERSION="master"
- TEST_BUILD_REF="origin/master"
- ES_TEST_HOST=http://localhost:9200
- JAVA_HOME="/usr/lib/jvm/java-8-oracle/jre"

before_install:
- java install oraclejdk8
- ./travis/download_and_run_es.sh

install:
Expand Down
3 changes: 3 additions & 0 deletions travis/download_and_run_es.sh
Expand Up @@ -7,8 +7,11 @@ fi;

killall java 2>/dev/null


which java
java -version


echo "Downloading Elasticsearch v${ES_VERSION}-SNAPSHOT..."

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

0 comments on commit c38e5fe

Please sign in to comment.