Skip to content

Commit 5ce2e0e

Browse files
authored
Try using oracle java9 installer on travis
The versions and packages of jdk available on various travis configurations is not clear, so iterating through possible solutions.
1 parent 167ee83 commit 5ce2e0e

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.travis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
language: perl
2-
3-
os:
4-
- linux
5-
- osx
1+
language: java
62

73
sudo: false
8-
94
fast_finish: true
10-
115
install: "echo"
126
dist: trusty
7+
jdk: oraclejdk9
138

149
addons:
1510
apt:
@@ -19,9 +14,9 @@ addons:
1914
packages:
2015
# install toolchains
2116
- gcc-6
17+
- oracle-java9-installer
2218

2319
script:
24-
- if [[ $TRAVIS_OS_NAME != osx && $NQP_OPTIONS =~ jvm ]]; then sudo -E apt-get install openjdk-9-jdk; fi
2520
- perl Configure.pl $NQP_OPTIONS
2621
- make test
2722
- make install

0 commit comments

Comments
 (0)