forked from twitter/finagle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
81 lines (69 loc) · 2.26 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# container-based build
sudo: false
language: scala
env:
global:
- JAVA_OPTS="-DSKIP_FLAKY=1"
matrix:
- PROJECT=finagle-commons-stats
- PROJECT=finagle-core
- PROJECT=finagle-exception
- PROJECT=finagle-exp
- PROJECT=finagle-http
- PROJECT=finagle-http-compat
- PROJECT=finagle-http2
- PROJECT=finagle-integration
- PROJECT=finagle-kestrel
- PROJECT=finagle-mdns
- PROJECT=finagle-mux
- PROJECT=finagle-mysql
- PROJECT=finagle-netty4
- PROJECT=finagle-netty4-http
- PROJECT=finagle-ostrich4
- PROJECT=finagle-redis
- PROJECT=finagle-serversets
- PROJECT=finagle-spdy
- PROJECT=finagle-stats
- PROJECT=finagle-stream
- PROJECT=finagle-thrift
- PROJECT=finagle-thriftmux
- PROJECT=finagle-toggle
- PROJECT=finagle-zipkin-core
- PROJECT=finagle-zipkin
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.m2
- $HOME/.ivy2
- $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION
- $HOME/.gitshas
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
scala:
- 2.11.8
jdk:
- oraclejdk8
notifications:
hipchat:
rooms:
secure: UlvjA1u/K7a/ykVt9hfRksqI5coq9k5fFqpeGCcEmqPOyrkOnCLj21xHHB16SzUfwy3pqjVK+B8kWORB9zaNyalHZm6I11Ba1hfmPXWemH/qA972IN/hdAQxnMVhhnWqJPzuoVlW7WAFxwltPTbAwDMzIczmsyMv+rCc2Xffiks=
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 finagle
- travis_retry ./sbt ++$TRAVIS_SCALA_VERSION ci:update finagle-memcached/update
- >
if [[ "$TRAVIS_JDK_VERSION" = oraclejdk* ]]; then
# run conditionally because they don't pass with openjdks
./sbt ++$TRAVIS_SCALA_VERSION finagle-native/update finagle-native/test
fi
# don't test these projects because they don't pass on travis-ci
- ./sbt ++$TRAVIS_SCALA_VERSION finagle-memcached/test:compile
script:
# run for all environments
- ./sbt ++$TRAVIS_SCALA_VERSION coverage "$PROJECT/test" coverageReport
after_success:
- ./sbt ++$TRAVIS_SCALA_VERSION coverageAggregate
- bash <(curl -s https://codecov.io/bash)