-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
39 lines (32 loc) · 983 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
34
35
36
37
38
39
dist: xenial
language: scala
scala:
- 2.13.1
- 2.12.10
before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
- $HOME/.coursier
install:
- pip install --user codecov
- rvm use 2.6.0 --install --fuzzy
- gem update --system
- gem install sass
- gem install jekyll -v 3.8.5
script:
# - sbt clean coverage test
- if [[ "$TRAVIS_SCALA_VERSION" == 2.12.* ]];
then
sbt ++$TRAVIS_SCALA_VERSION clean coverage test coverageReport && bash <(curl -s https://codecov.io/bash);
else
sbt ++$TRAVIS_SCALA_VERSION clean test && echo "Skipping code coverage reporting and docs on 2.13";
fi
jdk:
- oraclejdk12
- openjdk12