summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml34
-rw-r--r--build.sbt9
2 files changed, 31 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index 735975f..2098f0b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,26 @@
+# sudo required for installing dependencies of Scala Native
+sudo: required
language: scala
-scala:
- - 2.10.7
- - 2.11.12
- - 2.12.4
- - 2.13.0-M3
-script:
- - sbt ++$TRAVIS_SCALA_VERSION test mimaReportBinaryIssues
jdk:
- oraclejdk8
-notifications:
- email:
- - johannes@spray.io
- - mathias@spray.io
+
+before_install:
+ - curl https://raw.githubusercontent.com/scala-native/scala-native/9069e8d447f7a9a5439bffbb6a706b5cc70bd631/bin/travis_setup.sh | bash -x
+
+script:
+ - sbt +test +mimaReportBinaryIssues
+
+before_cache:
+ - find $HOME/.sbt -name "*.lock" | xargs rm
+ - find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
+ - rm -rf $HOME/.ivy2/{cache,local}/io.spray/
+
+cache:
+ directories:
+ - $HOME/.ivy2/cache
+ - $HOME/.sbt/boot/
+
+#notifications:
+# email:
+# - johannes@spray.io
+# - mathias@spray.io
diff --git a/build.sbt b/build.sbt
index a7b9cf1..18d69a8 100644
--- a/build.sbt
+++ b/build.sbt
@@ -72,4 +72,11 @@ lazy val sprayJson =
lazy val sprayJsonJVM = sprayJson.jvm
lazy val sprayJsonJS = sprayJson.js
-lazy val sprayJsonNative = sprayJson.native \ No newline at end of file
+lazy val sprayJsonNative = sprayJson.native
+
+lazy val root = (project in file("."))
+ .aggregate(sprayJsonJVM, sprayJsonJS, sprayJsonNative)
+ .settings(
+ publish := {},
+ publishLocal := {}
+ )