diff --git a/.travis.yml b/.travis.yml index 8a6a7878d..bdf6d828a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,4 +28,5 @@ env: - PLATFORM=jvm SBT_PARALLEL=true WORKERS=4 DEPLOY=false - PLATFORM=jvm SBT_PARALLEL=false WORKERS=4 DEPLOY=false - PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=true + - PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=true SCALAJS_VERSION=1.0.0-M1 sudo: false diff --git a/project/plugin.sbt b/project/plugin.sbt index 0a20bf942..c144ef57b 100644 --- a/project/plugin.sbt +++ b/project/plugin.sbt @@ -2,6 +2,9 @@ addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.14") addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0") -addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.19") +val scalaJSVersion = + Option(System.getenv("SCALAJS_VERSION")).getOrElse("0.6.19") + +addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion) scalacOptions += "-deprecation"