Skip to content

Commit 35c3a28

Browse files
committed
TASK: Tweak .travis.yml to enable Java 8
1 parent 35b8c8f commit 35c3a28

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
language: php
2+
sudo: false
3+
git:
4+
depth: 5
5+
submodules: false
6+
addons:
7+
apt:
8+
packages:
9+
- oracle-java8-set-default
210
matrix:
311
include:
412
- php: 7.0
@@ -13,8 +21,8 @@ matrix:
1321
env: ES=2
1422
- php: 5.6
1523
env: ES=5
16-
sudo: false
1724
before_install:
25+
- export JAVA_HOME=/usr/lib/jvm/java-8-oracle
1826
- export NEOS_TARGET_VERSION=2.3
1927
- cd ..
2028
- if [ "$ES" = 1 ]; then wget --no-check-certificate https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.zip && unzip elasticsearch-1.7.5.zip && mv elasticsearch-1.7.5 elasticsearch; fi

0 commit comments

Comments
 (0)