Skip to content

Upgrades. #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ script:
- sbt ++$TRAVIS_SCALA_VERSION 'set scalaJSStage in Global := FullOptStage' testSuiteJS/test
- sbt ++$TRAVIS_SCALA_VERSION publishLocal
scala:
- 2.10.6
- 2.11.11
- 2.12.2
- 2.13.0-M1
- 2.10.7
- 2.11.12
- 2.12.4
- 2.13.0-M2
jdk:
- oraclejdk8
env:
- SCALAJS_VERSION=0.6.18
- SCALAJS_VERSION=0.6.21
- SCALAJS_VERSION=1.0.0-M1
- SCALAJS_VERSION=1.0.0-M2

cache:
directories:
Expand Down
6 changes: 4 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
crossScalaVersions in ThisBuild := Seq("2.11.11", "2.10.6", "2.12.2", "2.13.0-M1")
import sbtcrossproject.crossProject

crossScalaVersions in ThisBuild := Seq("2.12.4", "2.11.12", "2.10.7", "2.13.0-M2")
scalaVersion in ThisBuild := (crossScalaVersions in ThisBuild).value.head

val commonSettings: Seq[Setting[_]] = Seq(
Expand Down Expand Up @@ -56,7 +58,7 @@ lazy val root: Project = project.in(file(".")).
pomIncludeRepository := { _ => false }
)

lazy val testSuite = crossProject.
lazy val testSuite = crossProject(JSPlatform, JVMPlatform).
jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin)).
settings(commonSettings: _*).
settings(
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.15
sbt.version=0.13.16
9 changes: 8 additions & 1 deletion project/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
val scalaJSVersion =
Option(System.getenv("SCALAJS_VERSION")).getOrElse("0.6.18")
Option(System.getenv("SCALAJS_VERSION")).getOrElse("0.6.21")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)

{
if (scalaJSVersion != "1.0.0-M1")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.3.0")
else
Nil
}

addSbtPlugin("org.scalastyle" % "scalastyle-sbt-plugin" % "0.8.0")