aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 031f3ac9ad8d8a5a8ea053f8dae3e4cda48d4446 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 yamlesqueJVM/scalafmtCheck yamlesque-spray-jsonJVM/scalafmtCheck +test

cache:
  directories:
    - "$HOME/.ivy2/cache"
    - "$HOME/.sbt/boot/"

before_cache:
  - find $HOME/.ivy2/cache/io.crashbox -depth -name "yamlesque*" -exec rm -r {} \;
  - find $HOME/.ivy2 -name "ivydata-*.properties" -delete
  - find $HOME/.sbt -name "*.lock" -delete