-
Notifications
You must be signed in to change notification settings - Fork 563
/
Copy path.travis.yml
39 lines (34 loc) · 3.21 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
language: java
jdk:
- oraclejdk8
# this doesn't work yet: https://github.com/travis-ci/travis-ci/issues/4706
#sudo: false
#addons:
# apt:
# sources:
# - debian-sid
# packages:
# - thrift-compiler
sudo: required
before_install:
- sudo apt-get update -qq
- sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
- wget https://archive.apache.org/dist/thrift/0.9.1/thrift-0.9.1.tar.gz
- tar xfz thrift-0.9.1.tar.gz
- cd thrift-0.9.1 && ./configure --without-php --without-php_extension --without-cpp --without-c_glib --without-python --without-ruby --without-go --without-erlang --without-java && sudo make install && cd ..
script:
- test "${TRAVIS_TAG}" || ./gradlew check # only run check on non-tag build because of flaky tests
# publish artifacts to bintray on tag builds
after_success:
- >
test "${TRAVIS_TAG}" &&
test "${TRAVIS_JDK_VERSION}" = 'oraclejdk8' &&
./gradlew --info bintrayUpload &&
./publish-notify.sh
# environment variables for bintray credentials
# https://docs.travis-ci.com/user/encryption-keys/
env:
global:
- secure: "OVRD2esfT7qMaMpqddaROFSdWZD4HzE9mXxkOH0Kf/8oeyt1m4xEudaF1jB9G0tHIR+WeM/jaBLZv0BMr0Q6V+Goo73070kLy0MgQWGkqoDxjxXLHAqT853AZj5QhNM96+EG5Z5Dty+mYv4W5XRJob9QaWpKVPl3TC3g3ea+ehi2kzyzx98zcfPGfifB5G9yeFHn/mgIl55Y2RNOGVbtu4DInkb2tCn0J1uvJAykG8ANAYYajqA4rpGEq45xUwXBCYnmsn1M1ciqNHP6F/1HvBYSNcGHwVTT4bPChmQ1sqlNlHduPEAiQSCKxndU254Ppp88noIFUdDZA+A5zIaoTVjQ7/ufafxx21JgN3TSe47CCdz21Pl++TNlUP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