forked from monix/monix-bio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (48 loc) · 1.24 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
42
43
44
45
46
47
48
49
50
51
52
53
language: scala
matrix:
include:
# Scala 2.12, JVM
- jdk: openjdk11
scala: 2.12.10
env:
- COMMAND=ci-jvm-mima
- SCALAJS_VERSION=
# Scala 2.12, JavaScript 1.0.1
- jdk: openjdk11
scala: 2.12.10
env:
- COMMAND=ci-js
- SCALAJS_VERSION=1.0.1
# Scala 2.13, JVM
- jdk: openjdk11
scala: 2.13.1
env:
- COMMAND=ci-jvm-all
- SCALAJS_VERSION=
# Scala 2.13, JavaScript 0.6.32
- jdk: openjdk11
scala: 2.13.1
env:
- COMMAND=ci-js
- SCALAJS_VERSION=0.6.32
# Scala 2.13, JavaScript 1.0.1
- jdk: openjdk11
scala: 2.13.1
env:
- COMMAND=ci-js
- SCALAJS_VERSION=1.0.1
script:
- sbt -J-Xmx6144m ++$TRAVIS_SCALA_VERSION $COMMAND
after_success:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" -a "$COMMAND" = "ci-jvm-all" ]; then sbt docs/docusaurusPublishGhpages; fi
cache:
directories:
- $HOME/.sbt
- $HOME/.ivy2/cache
- $HOME/.coursier
before_cache:
- du -h -d 1 $HOME/.ivy2/cache
- du -h -d 2 $HOME/.sbt/
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
- rm -rf $HOME/.ivy2/local