forked from jaegertracing/jaeger-client-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (49 loc) · 5.31 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
sudo: required
language: java
dist: trusty
services:
- docker
env:
global:
- DOCKER_VERSION=1.11.1-0~trusty
- DOCKER_COMPOSE_VERSION=1.7.0
- COMMIT=${TRAVIS_COMMIT::8}
# travis encrypt -r <repo> SONATYPE_USERNAME=<username>
- secure: "szUKwXCryzn9J59+K8E3/mvxmH1pVgpXkoXKN4tWNU5Tu9yht43agyYQ6JK388Ik2oYAo0P0qD4Tablrpv6aMFrw2YWh7hZ1YfCmTkgTyZ7TL7jdQIwOLSgy96ttRZxxJwk+bwKHBYSRSQMBcveDmxaRz7q1tKPV7HJIIjbbpHPZOf0mGkPWgSmCuFG35w7m22ZudgyjwlaiBvddMywobIQDkyrThro7VoVLh/IvTRwpHWa1JfQeCO3r81Z6VHmz06LO/82fczra2AldVjpyldFq+Ow5S+fYoFe065nbyWl19OFy1mSgYoS3VUNueY76WfmvSMkp3NfpJMFrtSYY2jHesdqMi8daKCHPuT223CTU83fBs+rHwdA8iE23TSxCgOkm3RS85Zz+s/WbuyJojh5GrqB1+lWCE+LHIPlZqmnd4vR95MP07324EaJ0lZyFT1WzrdhfLMl07+sYQCb7EEp5lt2PjIdRyAOuIf5fdV5sf3E0gm4cfdNNIKuThNTqIXKcaOP7UjZSysfeskt1oDJA5qtsftaeaiAsNTrDjY3ay6jT5W1eV2hBgcOfUeu/eVQ8TlXu8JkxUolntEh0L9FSmiJc7+nppkqKjGFEHzqCfFwm2rHLprnwCrUQl/FLmYJVeBczIRYwkb3u/SXLFqjxmrgjyE0jooPnj9PF30I="
# travis encrypt -r <repo> SONATYPE_PASSWORD=<password>
- secure: "mxehNG9GvM/PKC9woLDJT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tVZf5LkUaO86uySymsfCmSA9BdIRET9stra5YNYxuQ8zzY8KGNI+jcjpe0STWUG/ZNGBOHJ7Viw1S4TpXLRz4jbmjC4jJXjjR2Sa0C2NLNOKchO+aOP1a+6+ODuyrjBwDhIohSh39rIYjmt5v14RKj7k/C5Bz5QfXejw8JVp49zLaLF1lksCaP8BVhOu5xOuttgOoXA7LV+tKmyovg1Ka9DXLaQNd5vAfPnqVXaZXKYP8AIJXrCUT/Z280brNZOfLxg=
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
before_install:
- ./travis/prepare-signing.sh $encrypted_677f232983c0_key $encrypted_677f232983c0_iv
stages:
- name: test
- name: deploy
if: NOT (type IN (pull_request))
jobs:
include:
- stage: test
env: [ NAME=unit-test ]
script: make test-travis && ./gradlew codeCoverageReport && bash <(curl -s https://codecov.io/bash)
- stage: test
env: [ NAME=crossdock ]
script: make crossdock-fresh
- stage: deploy
env: [ NAME=deploy-to-maven ]
script: ./gradlew upload
- stage: deploy
env: [ NAME=deploy-crossdock-to-dockerhub ]
script: ./travis/publish-crossdock.sh