language: scala
scala:
 - 2.12.1
jdk:
 - oraclejdk8

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

script:
  - ./sbt test

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

language: scala
scala:
 - 2.12.1

dist: trusty

jdk:
  - openjdk8

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

script:
  - ./sbt test

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

Test on trusty (Ubuntu 14.04) with openjdk8
Travis: Test on trusty (Ubuntu 14.04) with openjdk8
