Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit 20bddc7

Browse files
committed
Use correct jdk and scala versions in travis
1 parent 9b209c7 commit 20bddc7

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.travis.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,21 @@
22
dist: trusty
33
sudo: true
44
scala:
5-
- "2.11.7"
6-
jdk:
7-
- oraclejdk7
8-
- oraclejdk8
9-
- openjdk8
5+
- "2.11.8"
6+
- "2.12.1"
107
before_script:
8+
- jdk_switcher use ${JDK}
119
- sh src/test/resources/setup_travis.sh
1210
before_install:
1311
- cat /etc/hosts
1412
env:
15-
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
13+
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib JDK=oraclejdk7
14+
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib JDK=oraclejdk8
15+
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib JDK=openjdk8
1616
addons:
1717
#workaround for openjdk buffer overflow
18-
hostname: dummy
18+
hostname: dummy
19+
matrix:
20+
exclude:
21+
- scala: 2.12.1
22+
env: JDK=oraclejdk7

0 commit comments

Comments
 (0)