Skip to content

Commit 590098f

Browse files
authored
Merge pull request scala#70 from SethTisue/version-bumps
version bumps, and modernize .travis.yml
2 parents 5155dd6 + 51e4e58 commit 590098f

File tree

3 files changed

+15
-27
lines changed

3 files changed

+15
-27
lines changed

.travis.yml

+12-25
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,23 @@
1+
version: ~> 1.0 # needed for imports
2+
3+
import: scala/scala-dev:travis/default.yml
4+
15
language: scala
26

37
scala:
4-
- 2.13.0
8+
- 2.13.1
59

610
env:
7-
- SCALAJS_VERSION= ADOPTOPENJDK=8
8-
- SCALAJS_VERSION=0.6.31 ADOPTOPENJDK=8
9-
- SCALAJS_VERSION=1.0.0-RC2 ADOPTOPENJDK=8
10-
- SCALAJS_VERSION= ADOPTOPENJDK=11
11-
12-
before_install:
13-
# adding $HOME/.sdkman to cache would create an empty directory, which interferes with the initial installation
14-
- "[[ -d $HOME/.sdkman/bin ]] || rm -rf $HOME/.sdkman/"
15-
- curl -sL https://get.sdkman.io | bash
16-
- echo sdkman_auto_answer=true > $HOME/.sdkman/etc/config
17-
- source "$HOME/.sdkman/bin/sdkman-init.sh"
11+
- ADOPTOPENJDK=8 SCALAJS_VERSION=
12+
- ADOPTOPENJDK=8 SCALAJS_VERSION=0.6.31
13+
- ADOPTOPENJDK=8 SCALAJS_VERSION=1.0.0-RC2
14+
- ADOPTOPENJDK=11 SCALAJS_VERSION=
1815

1916
install:
20-
- sdk install java $(sdk list java | grep -o "$ADOPTOPENJDK\.[0-9\.]*hs-adpt" | head -1)
21-
- unset JAVA_HOME
22-
- java -Xmx32m -version
2317
- git fetch --tags # get all tags for sbt-dynver
2418

2519
script: ./build.sh
2620

27-
before_cache:
28-
- rm -f $HOME/.ivy2/.sbt.ivy.lock
29-
- find $HOME/.ivy2/cache -name "ivydata-*.properties" | xargs rm
30-
- find $HOME/.sbt -name "*.lock" | xargs rm
31-
cache:
32-
directories:
33-
- $HOME/.ivy2/cache
34-
- $HOME/.sbt
35-
- $HOME/.cache/coursier
36-
- $HOME/.sdkman
21+
notifications:
22+
email:
23+

build.sbt

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ lazy val collectionContrib = crossProject(JVMPlatform, JSPlatform)
2020
"junit" % "junit" % "4.12" % Test,
2121
"com.novocode" % "junit-interface" % "0.11" % Test,
2222
"org.openjdk.jol" % "jol-core" % "0.9" % Test
23-
)
23+
),
24+
// https://github.com/sbt/sbt/issues/5043
25+
useCoursier := false
2426
)
2527
.jvmSettings(
2628
scalaModuleMimaPreviousVersion := Some("0.1.0"), // why only in jvmSettings?

project/build.properties

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# Not 1.3.0 due to https://github.com/sbt/sbt/issues/5043
21
sbt.version=1.3.5

0 commit comments

Comments
 (0)