forked from twitter/util
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (30 loc) · 991 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
37
38
39
# This is necessary until https://github.com/travis-ci/travis-ci/issues/3120 is
# fixed
sudo: required
language: scala
env:
- JAVA_OPTS="-DSKIP_FLAKY=true -Dsbt.log.noformat=true"
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION
- $HOME/.dodo
scala:
- 2.11.11
- 2.12.1
jdk:
- oraclejdk8
notifications:
hipchat:
rooms:
secure: ip7yYXJllgMZEwkDNgEfcFUmVtJlGzW3eC+x/NHZWUe7aFTbD/+Who31EWLU28fU9O9FdQquzL96oEQMyD+d+Cy03EhboOJf1f/oKinT1UXNvcx+kf912EgaU8ei4ZQ/o5oc7A+sTyq3wA/FSm/BwhUOjSDFZ4oOTZZXxoZYvYc=
before_script:
# default $SBT_OPTS is irrelevant to sbt lancher
- unset SBT_OPTS
- travis_retry ./sbt --error ++$TRAVIS_SCALA_VERSION update
script:
- travis_retry ./sbt ++$TRAVIS_SCALA_VERSION clean coverage test coverageReport
- ./sbt ++$TRAVIS_SCALA_VERSION coverageAggregate
after_success:
- bash <(curl -s https://codecov.io/bash)