forked from KadekM/scrawler
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
33 lines (31 loc) · 861 Bytes
/
.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
language: scala
scala:
- 2.11.11
- 2.12.2
jdk:
- oraclejdk8
script:
#- sbt ++$TRAVIS_SCALA_VERSION clean coverage test ## not yet
- sbt ++$TRAVIS_SCALA_VERSION clean test
after_success:
#- sbt ++$TRAVIS_SCALA_VERSION coverageReport coveralls ## not yet
- if [ "$TRAVIS_BRANCH" == "dev" ]; then
sbt ++$TRAVIS_SCALA_VERSION publish;
fi
cache:
directories:
- $HOME/.sbt/boot
- $HOME/.sbt/0.13
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/cache
- $HOME/.sbt/launchers
- $HOME/.ivy2
- $HOME/.ivy2/cache
- $HOME/.coursier
before_cache:
- du -h -d 1 $HOME/.ivy2/
- du -h -d 2 $HOME/.sbt/
- du -h -d 4 $HOME/.coursier/
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
- find $HOME/.coursier/cache -name "*.lock" -type f -delete