forked from twitter/finagle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (56 loc) · 2.49 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
# This is necessary until https://github.com/travis-ci/travis-ci/issues/3120 is
# fixed
sudo: required
language: scala
env:
- SKIP_FLAKY=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
scala:
- 2.10.6
- 2.11.7
jdk:
- oraclejdk7
# Note: not currently testing on JDK 8 internally
- oraclejdk8
# Enable once https://github.com/travis-ci/travis-ci/issues/5227 is fixed.
#- openjdk7
notifications:
hipchat:
rooms:
secure: UlvjA1u/K7a/ykVt9hfRksqI5coq9k5fFqpeGCcEmqPOyrkOnCLj21xHHB16SzUfwy3pqjVK+B8kWORB9zaNyalHZm6I11Ba1hfmPXWemH/qA972IN/hdAQxnMVhhnWqJPzuoVlW7WAFxwltPTbAwDMzIczmsyMv+rCc2Xffiks=
before_script:
# default $SBT_OPTS is irrelevant to sbt lancher
- unset SBT_OPTS
- ./bin/travisci
- travis_retry ./sbt ++$TRAVIS_SCALA_VERSION update
script:
# don't test these projects because they don't pass on travis-ci
- ./sbt ++$TRAVIS_SCALA_VERSION finagle-memcached/test:compile
# run conditionally because they don't pass with openjdks
- if [[ "$TRAVIS_JDK_VERSION" = oraclejdk* ]]; then ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-native/test; fi
# run for all environments
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-commons-stats/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-core/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-exception/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-exp/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-http/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-kestrel/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-mdns/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-mux/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-mysql/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-ostrich4/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-redis/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-serversets/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-spdy/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-stats/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-stream/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-testers/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-thrift/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-thriftmux/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverage finagle-zipkin/test
- ./sbt ++$TRAVIS_SCALA_VERSION coverageAggregate
after_success: ./sbt ++$TRAVIS_SCALA_VERSION coveralls