forked from scala/pickling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (33 loc) · 1.1 KB
/
.travis.yml
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
36
37
38
39
40
41
# 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.11.8
- 2.10.6
jdk:
- openjdk7
- oraclejdk7
notifications:
email:
script:
- sbt ++$TRAVIS_SCALA_VERSION clean test sparklrPick
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm