aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2018-04-08 21:08:26 -0700
committerJakob Odersky <jakob@odersky.com>2018-04-08 22:20:24 -0700
commit8e02d1f8e2663ee6e801bb56d7eb83ac4373c651 (patch)
tree92faf0447538e2f7092b68fa4d07f2e495ac1323
parent569a49d86e9042d56714c3bf714b749883df23d6 (diff)
downloadyamlesque-8e02d1f8e2663ee6e801bb56d7eb83ac4373c651.tar.gz
yamlesque-8e02d1f8e2663ee6e801bb56d7eb83ac4373c651.tar.bz2
yamlesque-8e02d1f8e2663ee6e801bb56d7eb83ac4373c651.zip
Add script to set up scalanative in travis
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index dedcf9b..7524c35 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,17 @@
+sudo: required
language: scala
jdk:
- oraclejdk8
+before_install:
+ - curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x
+
script:
- - sbt scalafmtCheck +test
+ - > sbt
+ yamlesqueJVM/scalafmtCheck
+ yamlesque-spray-jsonJVM/scalafmtCheck
+ +test
cache:
directories: