forked from typelevel/cats-effect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (34 loc) · 856 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
sudo: false
language: scala
matrix:
include:
- jdk: oraclejdk8
scala: 2.11.12
env: COVERAGE=coverage
- jdk: oraclejdk10
scala: 2.11.12
env: COVERAGE=coverage
- jdk: oraclejdk8
scala: 2.12.6
env: COVERAGE=
- jdk: oraclejdk10
scala: 2.12.6
env: COVERAGE=
script:
- export SBT_PROFILE=$COVERAGE
- sbt ++$TRAVIS_SCALA_VERSION $COVERAGE ci
after_success:
- |
if [ "$COVERAGE" = "coverage" ]; then
export SBT_PROFILE=$COVERAGE
sbt ++$TRAVIS_SCALA_VERSION coverageAggregate coverageReport
bash <(curl -s https://codecov.io/bash)
fi
before_cache:
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.coursier/cache
- $HOME/.sbt