-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
54 lines (44 loc) · 4.77 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
# Run `travis lint` when changing this file to avoid breaking the build.
# Default JDK is really old: 1.8.0_31; Trusty's is less old: 1.8.0_51
# https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
sudo: false
dist: trusty
cache:
directories:
- $HOME/.m2
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
before_install:
# allocate commits to CI, not the owner of the deploy key
- git config user.name "opentracingci"
- git config user.email "[email protected]"
# setup https authentication credentials, used by ./mvnw release:prepare
- git config credential.helper "store --file=.git/credentials"
- echo "https://$GH_TOKEN:@github.com" > .git/credentials
install:
# Override default travis to use the maven wrapper
- ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- ./travis/publish.sh
branches:
except:
- /^[0-9]/
after_success:
- mvn jacoco:report coveralls:report
env:
global:
# Ex. travis encrypt BINTRAY_USER=your_github_account
- secure: "vEzw52TieEtIq5fZNxgOW0eP/GXse2jLW5+LAKi5kwpux5FZAmWEylAL2LcMab7+CgF9BF2bGhqBLEAmbrXytr+uqqP1sDtHJES+eLrHb6ykBVnhAi49dXyw4/OSJs2UPbiG5pajA+iKBNWBD5clba2qjvc5c5xf1REv1fRtSqlEC1WmhXLdU2wE3s3pSiY/YqiOk14Z5Px7CS64HKPI4N5YJq7aafGpqngfKnc5hsT3pySPFXigAiPA5SJsKI8v1RkP4IvAtGwo1eg+YsNWTtqBrevf5SPJmHxnfdNu6qBQeOqf4uo9cCK5RZkCnW8XpqIlt04ZIzZ620Uj+FG2iYZgvFI5IEuS2fLel23qLEbMrfSOpWq2uda6rgYgtcQOZ41xeOf1Pyj/qbBNnXCR/A8JL/+EFmtTnnplPbXEKhMVsByjJ1EwlhiZm3D95U72XMPQx8tm9665SQmkohW61XJUJFa3T1MVGjcSvea2N4PrjlgtUbVLJhBQfl6V+hIr5dC1dJLfBkJu3hipYvnxAS8YawiuacAmb0eybhGLXBkteMXBBNCZDSsup7wfngh8KNKQnv78Sbe5Ppww3lUq/DV8batShBcm256llGzj2xlmAUkBOxDna4m7sXbvlJTYynJB3nCHxS/OpFw8X0UMZzoLX3qcH+VcbeLs4MrkG1M="
# Ex. travis encrypt BINTRAY_KEY=xxx-https://bintray.com/profile/edit-xxx --add
- secure: "bKj0XnoxMym8p2SQemluQKRrjrENBrKn2czQE5cSmOOhkP0yfeCr7xu18i0yoKaZoq6J4xi5uF8wg9LlSJzmxipB50T8g/ciY2nxEZAR3yH8/yoRcwAf6eqWRGbo1CBllrtinClc0zH3k6BbhAb6fO9kJJpn7M2dxFGA528LgswRvFW448EQFNgv6hydU2Q36T7O+BEN4+cX6M3bZvYOKX39WeQ+gVzxsdP6CxTKZSKKOTWvBGN8E+S4EIwRNfwD1aFFRbLpnf9K1HXMW9Akoy8RDVejGlNaAFUNkR6XoIl5BzdICrB03iiBUfczULokTbzVVe9/Y15YN5B1wq3UDj8EtKwGWldQ5s/dgeOkM8vSJh2UxXIG3q7jnNKf19Euaoc1mfM12MQHzqw8NSQyXCknBMZGD+hZI+Rr4VGsmp8GTuUfpgt3xYpXacu9zNXalsCfEuarv1FDxB76gIvC1TEoD3ytn5GL2KR0vQEZvAMOlIR0ux8cct1oUOmeIOtoyoIlBQKnCNvyhmpPqhqUQC5Nl3tjucAUPVeBRl7tdc6XItDC3nkqTJ8mwYMTYw3xn2ruFbZ10Wi4hRqyMwwu9Z8tKBvV+U1dzX5wHrPiU71dHN3riDK/EluAcNrXD7x4gHOVb5HTFk2KwpG6V41N/rqs23xcgL0VMxr1E9K1Ods="
# Ex. travis encrypt GH_TOKEN=XXX-https://github.com/settings/tokens-XXX --add
- secure: "gP1GpqNh6EWjx+wua8b6+pvRuon9tQBL1lMz6Y4hinjD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