Skip to content

Commit 4c16e52

Browse files
authored
Merge pull request #95 from exoego/update-versions
Support Scala 2.13.0-RC2 and Scala.js 0.6.27
2 parents 731e8c3 + f9edb15 commit 4c16e52

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ jdk:
1616
scala:
1717
- 2.10.7
1818
- 2.11.12
19-
- 2.12.7
20-
- 2.13.0-M5
19+
- 2.12.8
20+
- 2.13.0-RC2
2121

2222
before_install:
2323
- export PATH=${PATH}:./vendor/bundle
2424

2525
env:
2626
- TRAVIS_NODE_VERSION="8.11.4"
27-
SCALAJS_VERSION="0.6.25"
27+
SCALAJS_VERSION="0.6.27"
2828
- TRAVIS_NODE_VERSION="9.11.2"
29-
SCALAJS_VERSION="0.6.25"
29+
SCALAJS_VERSION="0.6.27"
3030
- TRAVIS_NODE_VERSION="10.9.0"
31-
SCALAJS_VERSION="0.6.25"
31+
SCALAJS_VERSION="0.6.27"
3232

3333
install:
3434
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
@@ -48,7 +48,7 @@ cache:
4848
script:
4949
- sudo chmod +x /usr/local/bin/sbt
5050
- sbt ++$TRAVIS_SCALA_VERSION -J-Xmx4G clean scalajavatimeJVM/compile scalajavatimeTestsJVM/compile
51-
- if [[ $TRAVIS_SCALA_VERSION != "2.13.0-M5" ]]; then sbt ++$TRAVIS_SCALA_VERSION -J-Xmx4G clean scalajavatimeTestsJVM/test scalajavatimeTestsJS/test scalajavatimeJVM/publishLocal scalajavatimeJS/publishLocal scalajavatimeTZDBJVM/publishLocal scalajavatimeTZDBJS/publishLocal; fi;
51+
- if [[ $TRAVIS_SCALA_VERSION != "2.13.0-RC2" ]]; then sbt ++$TRAVIS_SCALA_VERSION -J-Xmx4G clean scalajavatimeTestsJVM/test scalajavatimeTestsJS/test scalajavatimeJVM/publishLocal scalajavatimeJS/publishLocal scalajavatimeTZDBJVM/publishLocal scalajavatimeTZDBJS/publishLocal; fi;
5252
# docs/makeMicrosite
5353
# Tricks to avoid unnecessary cache updates, from
5454
# http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ lazy val commonSettings = Seq(
2121
scalaVersion := scalaVer,
2222
crossScalaVersions := {
2323
if (scalaJSVersion.startsWith("0.6")) {
24-
Seq("2.10.7", "2.11.12", "2.12.8", "2.13.0-M5")
24+
Seq("2.10.7", "2.11.12", "2.12.8", "2.13.0-RC2")
2525
} else {
26-
Seq("2.11.12", "2.12.8", "2.13.0-M5")
26+
Seq("2.11.12", "2.12.8", "2.13.0-RC2")
2727
}
2828
},
2929
scalacOptions ++= Seq(
@@ -188,7 +188,7 @@ lazy val scalajavatimeTests = crossProject(JVMPlatform, JSPlatform)
188188
libraryDependencies ++= {
189189
CrossVersion.partialVersion(scalaVersion.value) match {
190190
case Some((2, scalaMajor)) if scalaMajor <= 12 && (scalaJSVersion.startsWith("0.6.")) =>
191-
Seq("org.scalatest" %%% "scalatest" % "3.0.5" % "test")
191+
Seq("org.scalatest" %%% "scalatest" % "3.0.7" % "test")
192192
case _ => Seq.empty
193193
}
194194
}

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")
66
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2")
77

88
val scalaJSVersion =
9-
Option(System.getenv("SCALAJS_VERSION")).getOrElse("0.6.26")
9+
Option(System.getenv("SCALAJS_VERSION")).getOrElse("0.6.27")
1010

1111
addSbtPlugin("org.portable-scala" % "sbt-crossproject" % "0.6.0")
1212

0 commit comments

Comments
 (0)