Skip to content

Commit 190074a

Browse files
authored
Merge pull request #389 from sjrd/upgrades
Upgrade to Scala 2.12.10, 2.13.1 and to Scala.js 1.0.0-RC1.
2 parents 140fd17 + 3162f5c commit 190074a

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,22 @@ script:
66
scala:
77
- 2.10.7
88
- 2.11.12
9-
- 2.12.8
10-
- 2.13.0
9+
- 2.12.10
10+
- 2.13.1
1111
jdk:
1212
- openjdk8
1313
env:
1414
- SCALAJS_VERSION=0.6.28
1515
- SCALAJS_VERSION=1.0.0-M8
16+
- SCALAJS_VERSION=1.0.0-RC1
1617
matrix:
1718
exclude:
1819
- scala: 2.10.7
1920
env: SCALAJS_VERSION=1.0.0-M8
21+
- scala: 2.10.7
22+
env: SCALAJS_VERSION=1.0.0-RC1
2023
include:
21-
- scala: 2.12.8
24+
- scala: 2.12.10
2225
env: SCALAJS_VERSION=0.6.28
2326
script:
2427
- sbt readme/run

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ lazy val root = project.in(file(".")).
66
name := "Scala.js DOM"
77

88
crossScalaVersions in ThisBuild := {
9-
if (scalaJSVersion.startsWith("1.")) Seq("2.12.8", "2.11.12", "2.13.0")
10-
else Seq("2.12.8", "2.11.12", "2.10.7", "2.13.0")
9+
if (scalaJSVersion.startsWith("1.")) Seq("2.12.10", "2.11.12", "2.13.1")
10+
else Seq("2.12.10", "2.11.12", "2.10.7", "2.13.1")
1111
}
1212
scalaVersion in ThisBuild := crossScalaVersions.value.head
1313

@@ -42,7 +42,7 @@ def hasNewCollections(version: String): Boolean = {
4242
}
4343

4444
/** Returns the appropriate subdirectory of `sourceDir` depending on whether
45-
* the `scalaV` uses the new collections (introduced in 2.13.0-M4) or not.
45+
* the `scalaV` uses the new collections (introduced in 2.13) or not.
4646
*/
4747
def collectionsEraDependentDirectory(scalaV: String, sourceDir: File): File =
4848
if (hasNewCollections(scalaV)) sourceDir / "scala-new-collections"
@@ -102,7 +102,7 @@ lazy val readme = ScalatexReadme(
102102
source = "Index",
103103
autoResources = Seq("example-opt.js")
104104
).settings(
105-
scalaVersion := "2.12.8",
105+
scalaVersion := "2.12.10",
106106
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings"),
107107
(resources in Compile) += (fullOptJS in (example, Compile)).value.data
108108
)

0 commit comments

Comments
 (0)