From a8e23430867498f48f80ce1ce5b0e747dc9c7325 Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Tue, 27 Jan 2015 09:28:40 +0000 Subject: [PATCH] Switch to Travis' docker infrastructure. --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.travis.yml b/.travis.yml index f5cf6fa5..ad742f26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1 +1,22 @@ +# use Docker-based container (instead of OpenVZ) +sudo: false + +cache: + directories: + - $HOME/.ivy2/cache + # Cache the sbt launcher, currently the Travis VM preinstalls 0.13.5 + - $HOME/.sbt/launchers/0.13.7 + # Cache scala, currently the Travis VM preinstalls 2.11.2 & 2.10.4 + #- $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION + + # Updates regarding Travis VM preinstalls: + # https://github.com/travis-ci/travis-cookbooks/blob/master/changes.md + language: scala + +script: + - sbt ++$TRAVIS_SCALA_VERSION test + + # Remove to avoid unnecessary cache updates + - find $HOME/.sbt -name "*.lock" -delete + - find $HOME/.ivy2 -name "ivydata-*.properties" -delete