aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 7524c356018650471d80dadf4dd11c97320d0363 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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