-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
43 lines (35 loc) · 4.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
sudo: required
dist: trusty
language: java
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2/repository
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]/
env:
global:
# Ex. travis encrypt -r org/repo GH_TOKEN=XXX-https://github.com/settings/tokens-XXX
- secure: "YkN8wc0ZNSKn7covjYlSoGOLBDrYATDLXoAChxeqtzGTuoP7U2W0YqCgs6m1XuV9UHqZR6+VxS+SaQwyYO4yafXYoSFiiNbfGo+aNGSiXVQYmrhZo+iRjHl/LTWfx9ctDwF6J/YdrO6HhnCnl1cqRmKV4DJ3agbQbAIwXK36eCkYmCwCOWbqNsD9zRs+1uUUWiaXt3X7wBJ/y3xoAeg2NqtpN0QXQ8VEGk7S6GOuwjDVaaxODyKRGm0KmzPcoUbCnn1Bmf036EM31gVSYx2Boi1YcvAAyK+rhbDrnl490U8GGDMJJkBX+f907BUu1b0LWKNcfaaGdn35aXETiDhdIVo2tmro4T8wj3raPWI52DWwPMK71XKcxvHCcldF39Rj1dEiw4vLoOGlQ5mnOkUV9hgF77RTzxavFO8TCW0ENzXsVAfgOXaPN0rSLcdZy4nY+L70JSA2yMpNpYwlunqknYL1Grzco9VxCyH457igpxleKk2DOL9rNJ1pkOg45EDx7eF2WMnuav/PmwJx386cdDNiV/uUyeZ3NsSWllyk11loAJL8fHtatT9qnyjD9CSglx8lOitr4udeG7nJV+g7o9UQCBg9aWKJENWX7WGtyPlpCnmWKiMaodMyMD5nGhVqJ4rqbUD2KP2WYvgK97CSfdDhlgg8/hYmsxymp0WzSP0="
# Ex. travis encrypt -r org/repo SONATYPE_USER=your_sonatype_account
- secure: "HqDBeouG6bwCraA//G1SkicBO8sEa9wlWbfH1sA6CZP2wIJWFp9FMIW65X/hgzZ8uB+Kjb3jPjhBh2IylsfR9MY19Myz6N/cLIPhP2goGCBh5JyofBiX0hLiNPu20XPDomRqgp14FrEg+8tQSNXHvHsQ2lAq+gi9XiIyrwqFQlN8qY3Br9iAym+1umYmiYfiZ+u4ogTQie4haQfizSL9fmBx6TnWhJjVGlMT7fdnfA99lM1eamMXQcA58b6SxjS7zvFIwZm2AJWIbY9Y2mrqCUzazE4Bmzs/uGNA/pw9tCMA9lpPfkEYwEGKvPbqnV0Ze4WKC0zHfS8akb0Ke3t9/WNSHEJ7Q+YCjtzs1J24+WjTsH3LHibT2yGqPRjuADnTX/Zf5WRcl2iMseMZpK6ps9LlwzIecTSLiWTHkwl6xQQbzaT4AUby7OR7F23i2jtsD+A1jhAF7oQ73GokmpIYGyzu6iFz7MxbDYFPZZq3Y+l0AvM8i0x15EVNm6a8HQsp327O5RqUdJgD1QB2yYBcz5geZsc3ErW26RIi2mGEqDo3pG3kRfd/Vprzs7xRkiwEq1lgrRbzSfMwBzFCFH1l7D/NBN8j/7JV9e+3lAhMBvVzfXQHONEcTLz8+2Ms1xdg1PDDFWtnl/aixBoyUaLUkE/Y3OBNV2/al4vhK34TsrI="
# Ex. travis encrypt -r org/repo SONATYPE_PASSWORD=your_sonatype_password
- secure: "F59XVjS2ywe/tV+CVIpu0b6OGZ44eFIh7JHUIS3dwVMGqVeo1q8vP0xElugj2rDAmPX3xw2TgxWs8ZSzA7MTyG13fPobVbmFS3xuzwLyHjv+U5YVbXo4vp1h3iC6kgeMrxpCyDmkjrs2/CJfUcwTCVZ0g00/TLh35chXGHXwJg7KGAMnf6nAYZH4+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