-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy path.travis.yml
36 lines (28 loc) · 912 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
language: scala
# only trigger builds on master
branches:
only:
- master
- v3.1.x
before_script:
- sudo chmod +x /usr/local/bin/sbt
script:
- export SBT_OPS=-Xmx4G
- if [[ -n "$CODACY_PROJECT_TOKEN" && $TRAVIS_SCALA_VERSION == 2.12* ]]; then sbt ++$TRAVIS_SCALA_VERSION clean coverage test coverageReport coverageAggregate codacyCoverage; elif [[ $TRAVIS_SCALA_VERSION == 3.0* ]]; then sbt ++$TRAVIS_SCALA_VERSION coreJVM/test coreJS/test circeJVM/test circeJS/test testkitJVM/test testkitJS/test; else sbt ++$TRAVIS_SCALA_VERSION test; fi
scala:
- 2.12.13
- 2.13.6
- 3.0.0
before_install:
- pip install --user codecov
after_success:
- if [[ $TRAVIS_SCALA_VERSION == 2.12* ]]; then codecov; fi
jdk:
- openjdk8
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/8bca0308f59d7ad2cb1f
on_success: always
on_failure: always
on_start: never