-
Notifications
You must be signed in to change notification settings - Fork 143
/
.travis.yml
60 lines (49 loc) · 4.98 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
sudo: required
dist: trusty
group: deprecated-2017Q4
git:
# otherwise license plugin fails due to grafted commits
# see https://github.com/travis-ci/travis-ci/issues/7254#issuecomment-387689631
depth: false
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 "opentracingci+opentracing@googlegroups.com"
# 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
jobs:
include:
- stage: test
env: [ NAME=hoxton ]
script: make default
- env: [ NAME=classpath-no-dependencies ]
script: PROFILES=nodeps make classpath
- env: [ NAME=classpath-all-dependencies ]
script: PROFILES=alldeps make classpath
- stage: deploy
script: ./travis/publish.sh
branches:
except:
- /^[0-9]/
env:
global:
# Ex. travis encrypt -r org/repo BINTRAY_USER=your_github_account
- secure: "CwMUzucwBfunzGmVWd1Nab0mbu+vW8zU+/lNWiF5mhfR8UDO3WW44Y+pdDMxaYTMO2Iur2xwxlMFeg3uy7tjEliNCsgS7bezkOChdr1fh23meSEjxPP6yxWGbLvXQeEMYD1pgVDxUYI4+b14XaOoaVOeTNRlgKucmW6yWyRouAt36undOSLGg8lacCE5B/UQOVk2+iKVeVmp605+n6Xq/vw4DucRlHYPl5P87SirRAGilT2rjR44VsO+uRsGeEBXyzwcMutlzzIqnWSCxcmbAycch3wcnrh2DxfwHXcUsnYebIy9jUzQ+AoLj++xnhFukQgvZz+aiH8QRsZTG9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PAgXBDRpOpxFcNP8xQ/c7ZZqDo="
# Ex. travis encrypt -r org/repo GH_TOKEN=XXX-https://github.com/settings/tokens-XXX --add
- secure: "QuyAAQqVkputw6f3WpStOO6pqoPPR9d90ByFrn04aVNaLRNUAj67epNoX5YOYJtjlZ+Q18LHATNkJwL2KPXrGaZfWVUPMQ0An9po9uxK6k0QBCj3rxTMLUnxonHc97MwqVTJHFvsPpX16hIvHrIUum62Uf1PDAuBo9rZN6ZrCCJJ5eTCpFTo8G2ca4krtLeAdSB3g54rQ65mCIpNixcVQ83sQ1oQiHoIBHZlSmOWwgZP399Kmlgr4Z2nJuLtaLgttmubdYZuCkla9tnwei77woiYOCcTY+AITDOWPurYEn6Eh85EzHGJQHffkPPVJnrBiaOE9WQzjEWn6ShBIWWbGNWRPu9K60r3vSxNLWbgCXMwdD7khl2OW8etYxRGuMrGBUtJAEzRWT87QB7VTlLTBUGPU8ScIePzr+ucr3Ex3ZLmUO9ISAQ/GUwX/RsCXtd1Nea39DATLju5qGYskKZnhQw0IWnOWkIlfTjfV1F7WFMhsqEEbtOEihRlOcNh1+NMYTRhCnKDUVRI7YHNY/uoZIjWTOib/mn79y9x9Dl5wc6osleN0LV49NuNnZHfsw2OrtdbBJ8Y2eXSa4bE95vUGC3DDMEshd10iknL6lt2Y46vNebqQwN9EHiRPZe+CLlweaGt/mkgKunUGwQYfENWunYp6LD8HqUNyVq+OZrRlMo="
# Ex. travis encrypt -r org/repo SONATYPE_USER=your_sonatype_account
- secure: "ZrYguVXhq/JGaaF8wK03nrPux/cMw2LlXDEXfhQwr4G9YnsxGtc69KNyzNLKBR4b+ZKbAWPng85AhsiXUO7DVvvmGp/8u02hfIu8yZo6J7KIqqtgQHEcTuXZo9l5QcBKdeLCrxTVFKif8OygDk5hZj8HX8MeU0P7plp12aaZeZjfudKRVUBiG8ZbrWNCmC86HNKl7pXhk+tnQLBsD2zeup6iJ4iEBcAzmZaNP+5Oc4hk9D6hyyeF+7qL9k0BrDNH+6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