forked from twitter/twitter-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (31 loc) · 1.07 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
# 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: qoCpyYilDuXnWSquICCKRhuHhlOSS5WMsnna0yLAk46O2o2woitt0kMQM3fkEeqYtnYxH+K12aIShkC95BCKQ2cJbjR4OhNyTY9ZakgeTrdufAu7HwH1W+yxrdnXvmRbvH5uxgq/O0SerteL8gfIwHJRcaUQeswZJyBvD4G0CKU=
before_script:
# default $SBT_OPTS is irrelevant to sbt lancher
- unset SBT_OPTS
- curl -s https://raw.githubusercontent.com/twitter/dodo/develop/bin/build | bash -s -- --no-test twitter-server
- 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)