1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
# Use Docker-based container (instead of OpenVZ)
sudo: false
cache:
directories:
- $HOME/.ivy2/cache
# At the moment, sbt 0.13.5 is preinstalled in Travis VM image,
# which fortunately corresponds to current scalaz settings.
# The line below can be used to cache a given sbt version.
# - $HOME/.sbt/launchers/0.13.x
# The line below is used to cache the scala version used by the build
# job, as these versions might be replaced after a Travis CI build
# environment upgrade (e.g. scala 2.11.2 could be replaced by scala 2.11.4).
- $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION
language: scala
scala:
- 2.10.3
jdk:
- openjdk6
- openjdk7
- oraclejdk7
notifications:
email:
- qbranch@typesafe.com
script:
- sbt clean test
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
|