-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
33 lines (33 loc) · 917 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.13.1
- 2.12.10
- 2.11.12
jdk:
- openjdk8
- openjdk11
matrix:
include:
- dist: trusty
scala: 2.11.12
jdk: openjdk7
script:
- sbt ++$TRAVIS_SCALA_VERSION "set concurrentRestrictions in Global := Seq(Tags.limit(Tags.Test, 1))" clean coverage test
after_success:
- git config --global user.name "travisbot"
- git config --global user.email "[email protected]"
- git config --global push.default simple
- sbt ++$TRAVIS_SCALA_VERSION coverageReport coveralls
-
>
if [[ $TRAVIS_BRANCH == 'master' && \
$TRAVIS_PULL_REQUEST == 'false' && \
$TRAVIS_JDK_VERSION == 'openjdk8' && \
$TRAVIS_SCALA_VERSION == "2.13.1" ]]; then
export SBT_GHPAGES_COMMIT_MESSAGE="Auto-update site ($TRAVIS_COMMIT)"
sbt ++$TRAVIS_SCALA_VERSION ghpagesPushSite
fi
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/