diff --git a/.travis.yml b/.travis.yml index 80eaa60a..65963111 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ scala: - 2.12.6 - 2.13.0-M4 jdk: - - openjdk7 + - openjdk6 - oraclejdk8 env: global: @@ -23,10 +23,10 @@ env: matrix: exclude: # > 2.12 requires jdk8 - - jdk: openjdk7 + - jdk: openjdk6 scala: 2.12.6 - - jdk: openjdk7 + - jdk: openjdk6 scala: 2.13.0-M4 # ? @@ -45,9 +45,9 @@ matrix: # | jdk | scala | scala target | scala target version | scalafix test | # | ----------- | --------- | ------------ | -------------------- |---------------| -# | openjdk7 | 2.11.12 | jvm | | | -# | openjdk7 | 2.11.12 | js | 0.6.23 | | -# | openjdk7 | 2.11.12 | js | 1.0.0-M3 | | +# | openjdk6 | 2.11.12 | jvm | | | +# | openjdk6 | 2.11.12 | js | 0.6.23 | | +# | openjdk6 | 2.11.12 | js | 1.0.0-M3 | | # | oraclejdk8 | 2.12.6 | jvm | | | # | oraclejdk8 | 2.12.6 | js | 0.6.23 | | # | oraclejdk8 | 2.12.6 | js | 1.0.0-M3 | | diff --git a/admin/build.sh b/admin/build.sh index 52a555dd..6b7f3c3c 100755 --- a/admin/build.sh +++ b/admin/build.sh @@ -18,6 +18,11 @@ set -e RELEASE_COMBO=true +if [[ "$TRAVIS_JDK_VERSION" == "openjdk6" ]]; then + mkdir -p ~/.sbt + cp admin/repositories-jdk6 ~/.sbt/repositories +fi + if [ "$SCALAJS_VERSION" = "" ]; then if [[ "$TEST_SCALAFIX" == "true" ]]; then projectPrefix="scalafixRules" diff --git a/admin/repositories-jdk6 b/admin/repositories-jdk6 new file mode 100644 index 00000000..db3585e3 --- /dev/null +++ b/admin/repositories-jdk6 @@ -0,0 +1,3 @@ +[repositories] +local +maven-central-over-http: http://repo.maven.org/