Skip to content

Commit

Permalink
Merge pull request #300 from xerial/scalajs1.0.0
Browse files Browse the repository at this point in the history
Upgrade Scala.js to 1.0.0
  • Loading branch information
julienrf authored Feb 5, 2020
2 parents 471fce0 + 63c1f86 commit 3d98110
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ scala:
- 2.13.1

env:
- SCALAJS_VERSION= ADOPTOPENJDK=8
- SCALAJS_VERSION=0.6.31 ADOPTOPENJDK=8
- SCALAJS_VERSION=1.0.0-RC2 ADOPTOPENJDK=8
- SCALAJS_VERSION= ADOPTOPENJDK=11
- SCALAJS_VERSION=0.6.31 ADOPTOPENJDK=11
- SCALAJS_VERSION=1.0.0-RC2 ADOPTOPENJDK=11
- SCALAJS_VERSION= ADOPTOPENJDK=8
- SCALAJS_VERSION=0.6.31 ADOPTOPENJDK=8
- SCALAJS_VERSION=1.0.0 ADOPTOPENJDK=8
- SCALAJS_VERSION= ADOPTOPENJDK=11
- SCALAJS_VERSION=0.6.31 ADOPTOPENJDK=11
- SCALAJS_VERSION=1.0.0 ADOPTOPENJDK=11

matrix:

Expand Down
8 changes: 7 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ lazy val commonSettings = Seq(
|See the NOTICE file distributed with this work for
|additional information regarding copyright ownership.
|""".stripMargin)),
scalaModuleMimaPreviousVersion := Some("2.1.3")
scalaModuleMimaPreviousVersion := {
// We need to create a release version first to use MiMa
if(sys.env.get("SCALAJS_VERSION").exists(_.startsWith("1.0.0")))
None
else
Some("2.1.3")
}
)

lazy val root = project
Expand Down

0 comments on commit 3d98110

Please sign in to comment.