forked from xBATx/diffson
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (27 loc) · 742 Bytes
/
.travis.yml
File metadata and controls
35 lines (27 loc) · 742 Bytes
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
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; else sbt ++$TRAVIS_SCALA_VERSION test; fi
scala:
- 2.12.10
- 2.13.1
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