-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (21 loc) · 2.58 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
language: java
dist: trusty
jdk:
- openjdk8
env:
global:
- secure: "Cen0So5pnIClp+2YZRGgk53tYFJUTLTOE2NS+GkMTr8RKuRyLsZGbrn9rtgKInEG4byscgd330W1YkB+nB4Bm2AK39rpWLhxK7N35g7tQRqQ3Tw8jqw0aAgJArvGCvwL8+p0Pk4ZYw3NTUpQneS8i5JoDixym7G1f6e4E6ANkg82cw4ZZHJN0cPL+MmsiegW6Wurk2tlL57xs1bOYLM5258RjMCOSTyix2+YLtRytVCHqps3B2jVm4xRzwh/dQmHew3vbQDGOH8YC6NnC77PK+SE0gMVDtwOYrPaHPnDekJHSeJpqJtNLA+ILV+toPS7gYjg2TUpj1LFG45UD1hQiUXhh5dnlMWaSfwJ2eOlmF+AINk3sz3d3OCsc/CTzHgu69/fiIFwCF/YlVQF8XO55+kvB+E5yMu2mx26fDPAnP+ltzWzfKwVFLNuRTpYLRcpZllnHFxPA5nFHsP4VPNpgeklf+uM4HhgqUS6o7xtgYWlSpGD3psuwApPH1eLu4Tdt0gXdZsZWL7UYBC1kZZoEWw9gqAzFYuV37ClUAO7AgiOvW7mqAX9FgSfzDvFswKrNmioCg29MESl74ctTnRV6S+6l8nZRXJ/Xmy+r9/9vSvScD491u1kwc02i32sCLYXibiSPJDU2BpYpuzyABNnYh4q0Qyh5f2kdBP51oUJXUE="
- secure: "XdgWFOUpvR1S7yQmO89L0eLjbjqgz8fGoeGEoaMvz2aegkFvw+mYbn26wQI9DnHPTcuDBY96mdKfUhyUVnAlbE6MJfgKYzBHIy3/7xjNpDS9BEJEUF8ov1XE7CqF+DVnD1oz2XORyV1EJWtVYwBIBnkgVPUmZ8lzt0//LiPqGMMlk+hbIGcpT81cH1xWCT5BKfGhtLQab0leI3yYqSAuho8/gOtgsYLPIrwWMWMT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1jIoSJM5MLEhBsIbA5B8xfLorg/H5jh1CeQJWGWlAw9xmaaMpHr7r7cf8JV9Ns98GNRtCRwY="
cache:
directories:
- "$HOME/.m2"
install: mvn clean install -DskipTests=true -V -U
script: mvn test
after_success:
# Deploy to OSSHR
- if [[ $TRAVIS_PULL_REQUEST == "false" && ($TRAVIS_BRANCH == "master" || $TRAVIS_TAG) ]]; then
openssl aes-256-cbc -K $encrypted_16b06de4a8ce_key -iv $encrypted_16b06de4a8ce_iv -in gpg.tar.gz.enc -out gpg.tar.gz -d;
tar xvf gpg.tar.gz;
mvn source:jar javadoc:jar deploy -Pdeploy -DskipTests=true --settings ./settings.xml;
fi