File tree 2 files changed +24
-18
lines changed
2 files changed +24
-18
lines changed Original file line number Diff line number Diff line change 1
1
language : scala
2
2
3
- jdk :
4
- - openjdk8
5
- - openjdk11
6
-
7
3
scala :
8
4
- 2.12.8
9
5
- 2.13.0
19
15
- secure : " Xw7rI/qlML1nD2e2XwlakkhKAWNGZKqqE+Q3ntTvFpfHryl7KLCvVzJ4LIavnL6kGJaWOgy9vlSoEWn5g9nqHSfE31C/k5pY5nTMAKiwiJzfAS+r0asKXW2gmKhwtcTBkqyLVOZLCJSPVlFRQyfBJHY+Fs0L3KWcnMQgtBlyDhU="
20
16
matrix :
21
17
# The empty SCALAJS_VERSION will only compile for the JVM
22
- - SCALAJS_VERSION=
23
- - SCALAJS_VERSION=0.6.28
24
- - SCALAJS_VERSION=1.0.0-M8
18
+ - SCALAJS_VERSION= ADOPTOPENJDK=8
19
+ - SCALAJS_VERSION=0.6.28 ADOPTOPENJDK=8
20
+ - SCALAJS_VERSION=1.0.0-M8 ADOPTOPENJDK=8
21
+ - SCALAJS_VERSION= ADOPTOPENJDK=11
25
22
26
23
matrix :
27
24
exclude :
28
- - jdk : openjdk11
29
- env : SCALAJS_VERSION=0.6.28
30
- - jdk : openjdk11
31
- env : SCALAJS_VERSION=1.0.0-M8
32
- - scala : 0.15.0-RC1
33
- env : SCALAJS_VERSION=0.6.28
34
- - scala : 0.15.0-RC1
35
- env : SCALAJS_VERSION=1.0.0-M8
25
+ - scala : 0.16.0-RC3
26
+ env : SCALAJS_VERSION=0.6.28 ADOPTOPENJDK=8
27
+ - scala : 0.16.0-RC3
28
+ env : SCALAJS_VERSION=1.0.0-M8 ADOPTOPENJDK=8
29
+
30
+ before_install :
31
+ # adding $HOME/.sdkman to cache would create an empty directory, which interferes with the initial installation
32
+ - " [[ -d $HOME/.sdkman/bin ]] || rm -rf $HOME/.sdkman/"
33
+ - curl -sL https://get.sdkman.io | bash
34
+ - echo sdkman_auto_answer=true > "$HOME/.sdkman/etc/config"
35
+ - source "$HOME/.sdkman/bin/sdkman-init.sh"
36
+
37
+ install :
38
+ - sdk install java $(sdk list java | grep -o "$ADOPTOPENJDK\.[0-9\.]*hs-adpt" | head -1)
39
+ - unset JAVA_HOME
40
+ - java -Xmx32m -version
36
41
37
42
script :
38
43
- admin/build.sh
@@ -42,5 +47,6 @@ before_cache:
42
47
- find $HOME/.ivy2/cache -name "ivydata-*.properties" | xargs rm
43
48
cache :
44
49
directories :
45
- - $HOME/.ivy2/cache
46
- - $HOME/.sbt
50
+ - $HOME/.ivy2/cache
51
+ - $HOME/.sbt
52
+ - $HOME/.sdkman
Original file line number Diff line number Diff line change 16
16
# of the existing tag. Then a new tag can be created for that commit, e.g., `v1.2.3#2.13.0-M5`.
17
17
# Everything after the `#` in the tag name is ignored.
18
18
19
- if [[ " $TRAVIS_JDK_VERSION " == " openjdk8 " && " $TRAVIS_SCALA_VERSION " =~ 2\. 1[23]\. .* ]]; then
19
+ if [[ " $ADOPTOPENJDK " == " 8 " && " $TRAVIS_SCALA_VERSION " =~ 2\. 1[23]\. .* ]]; then
20
20
RELEASE_COMBO=true;
21
21
fi
22
22
You can’t perform that action at this time.
0 commit comments