@@ -9,7 +9,7 @@ addons:
99 apt:
1010 packages:
1111 - libgmp-dev
12− - default-jre # needed for java 8
12+ - oracle-java8-installer
1313
1414# The different configurations we want to test. You could also do things like
1515# change flags or use --stack-yaml to point to a different file.
@@ -23,7 +23,7 @@ matrix:
2323 # - env: ARGS="--resolver=lts-7" ESVERSION=1.5.2 ESURL=https://download.elastic.co/elasticsearch/elasticsearch ESTESTARGS="--es-version 1"
2424 # - env: ARGS="--resolver=lts-8" ESVERSION=1.5.2 ESURL=https://download.elastic.co/elasticsearch/elasticsearch ESTESTARGS="--es-version 1"
2525 # - env: ARGS="--resolver=nightly" ESVERSION=1.5.2 ESURL=https://download.elastic.co/elasticsearch/elasticsearch ESTESTARGS="--es-version 1"
26− - env: ARGS="--resolver=nightly" ESVERSION=5.5.0 ESURL=https://artifacts.elastic.co/downloads/elasticsearch ESTESTARGS="--es-version 5"
26+ - env: ARGS="--resolver=nightly" ESVERSION=5.5.0 ESURL=https://artifacts.elastic.co/downloads/elasticsearch ESTESTARGS="--es-version 5" ES_JAVA_OPTS="-Xms500m -Xmx750m"
2727
2828before_install:
2929# Download and unpack the stack executable
@@ -34,6 +34,8 @@ before_install:
3434install:
3535 - wget --no-check-certificate $ESURL/elasticsearch-$ESVERSION.tar.gz
3636 - tar xzf elasticsearch-$ESVERSION.tar.gz
37+ # set up a repo for snapshot testing. Required in ES >= 1.6
38+ - echo "path.repo = [\"/tmp\"]" >> ./elasticsearch-$ESVER/elasticsearch.yml
3739 - ./elasticsearch-$ESVERSION/bin/elasticsearch &
3840
3941