sudo: false

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

language: scala

jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk7

script:
  - sbt ";++$TRAVIS_SCALA_VERSION;test"

  # Tricks to avoid unnecessary cache updates
  - find $HOME/.sbt -name "*.lock" | xargs rm
  - find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm

sudo: false

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

language: scala

jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk7

script:
  - sbt ";++$TRAVIS_SCALA_VERSION;$SBT_COMMAND"

before_cache:
  - find $HOME/.sbt -name '*.lock' | xargs rm
  - find $HOME/.ivy2 -name 'ivydata-*.properties' | xargs rm

Remove ignored files in before_cache step
Remove ignored files in before_cache step
