We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a093e1d commit aeb39e0Copy full SHA for aeb39e0
.travis.yml
@@ -1,12 +1,12 @@
1
-# opt-in to Travis's newer/faster container-based infrastructure
2
-sudo: false
3
-
4
language: scala
5
+# Needed for openjdk6
+dist: precise
+sudo: required
6
addons:
7
- apt:
8
- packages:
9
- - openjdk-6-jdk
+ hosts:
+ - localhost
+ hostname: localhost.local
10
11
jdk:
12
- openjdk6
@@ -19,6 +19,9 @@ cache:
19
- $HOME/.sbt/launchers
20
21
script:
22
+ # work around https://github.com/travis-ci/travis-ci/issues/9713
23
+ - if [[ $JAVA_HOME = *java-6* ]]; then jdk_switcher use openjdk6; fi
24
+ - java -version
25
- sbt test
26
27
before_cache:
0 commit comments