forked from lloydmeta/enumeratum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (47 loc) · 1.66 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
sudo: false
language: scala
env:
- SCALAJS_TEST_OPT=full
# Only run aggregation 2.12
matrix:
include:
- scala: 2.10.7
jdk: openjdk8
script:
- sbt -jvm-opts .travis-jvmopts ++$TRAVIS_SCALA_VERSION test:compile test:doc
- travis_wait 30 sleep 1800 &
- sbt -jvm-opts .travis-jvmopts ++$TRAVIS_SCALA_VERSION test
- scala: 2.11.12
jdk: openjdk8
script:
- sbt -jvm-opts .travis-jvmopts ++$TRAVIS_SCALA_VERSION scalafmtCheck scalafmtSbtCheck test:compile test:doc
- travis_wait 30 sleep 1800 &
- sbt -jvm-opts .travis-jvmopts ++$TRAVIS_SCALA_VERSION test
- scala: 2.12.8
jdk: openjdk8
script:
- sbt -jvm-opts .travis-jvmopts ++$TRAVIS_SCALA_VERSION test:compile test:doc
- travis_wait 30 sleep 1800 &
- sbt -jvm-opts .travis-jvmopts ++$TRAVIS_SCALA_VERSION coverage test coverageReport
- sbt -jvm-opts .travis-jvmopts ++$TRAVIS_SCALA_VERSION coverageAggregate
after_success: sbt -jvm-opts .travis-jvmopts ++$TRAVIS_SCALA_VERSION coveralls
- scala: 2.13.0
jdk: openjdk8
script:
- sbt ++$TRAVIS_SCALA_VERSION scala_2_13/test:compile scala_2_13/test:doc
- sbt ++$TRAVIS_SCALA_VERSION scala_2_13/test
cache:
directories:
- $HOME/.sbt/1.0
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/cache
- $HOME/.sbt/launchers
- $HOME/.ivy2
- $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