Skip to content

Commit fdbe6d1

Browse files
committed
Use sbt-doge to skipping native on 2.10/2.12.
Scala Native currently only support 2.11. 2.12 support is expected in the next release but not 2.10. sbt-doge is an sbt plugin that adds two helpful commands to deal with the crossScalaVersions gaps in the native project: - `pls $SCALA_VERSION test`, like `++SCALA_VERSION test` except skip tests that don't define that SCALA_VERSION in crossScalaVersions. - `very test`, runs `test` for all projects for all crossScalaVersions defined for each individual project. Same works for publishing.
1 parent 3de215a commit fdbe6d1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
language: scala
22
sudo: required
33
dist: trusty
4+
script:
5+
# plz is like ++ except it skips projects that are not defined for that scala version.
6+
- sbt "plz $TRAVIS_SCALA_VERSION test"
47
jdk:
58
- oraclejdk8
69
scala:

project/build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
addSbtPlugin("com.eed3si9n" % "sbt-doge" % "0.1.5")
12
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.18")
23
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.8.0")
34
addSbtPlugin("org.scala-native" % "sbt-crossproject" % "0.2.0")

0 commit comments

Comments
 (0)