-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.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: "psIzxIhdqlb6hAQB6HDwyWlmt/coxoE7ZrYZdmslPRCMIP/TB6poiUOizGwnC7RiF3KQIvqM3lPAfhoh9cd2HfGLa3XCXD6z1uZhsI9DcTpcOnkajXYGwIvYxy7UZHSVGSwM6+i8mYqBi6s5JH2pd6qFCGxHkevphlsw4chCeoU4IEQop4Ukg+CrGq+T9SxsBOEOT2syixM1So6dqzikfHIhUBj82/FmOTmgkdK6afYHRqVgQ6PRntNRurAEUl3hSqY/EPF+aaEn6CbMEQiOUL5rACKy+MoCvx0cQEca+ihmRWctHvgrMFOq9ngFW+b1eF5nZhK9rNZGVBwnurnlHRID9Vn1BkVXlKuQbI3Xmo0ToeNw3toL5VTSIUwUX9oFoHCOdFCe9Jt/Wg3w/8yDm/MufG3YYLHt1vKX7nhtxZBLBnxg+2GHp/2KGu+LO/HuLONvpUFuRR1adS1iJ3VJiFoT1O9d4KfPdsnvabTD4BYclVXZL2vQxjpTdhobOWLODNjoy5LRqAtXfdqjUWol+5KFmk7RwPXm8X/3o695BWzMjzlETERGK/1yKoOkPeAMHlcll6JZkI8oehReA7Kpd7v0hrQQpVI820N4HSA/o0QcPCIZYFgQxtd4S/1+lohAYIB9c4PjK1uokJAN2Dhz92/2y2HVCEmcexjkvT37jKw="
- secure: "IrJYhHbK6/loASAtoNrQrxybvn6LpBfQ83wIevf+uinWwNjRx++Kd4OE0xj8WyCcPdyPGNJQhtvZaZzJFVIc5sjWO6KwPT6xzHmVnFEWNY00ueeKK8W/12FODWrh0+/xnqCxuKqsVZ06rllQKv+R0AxFrrEOXi6ggA/qAOt0l9AVaRPpWk8JeqYwNKBQunj4JrPRD7z5RDVg7/OF6pcipzGOrRryZirTfOK2f5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7rOw82Egh6dsarU075ksV1V+1qOu7V7mhWNyd04RzNFWaNNbMFtNMtAQrerrNpZu+k="
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_c91e803a65f8_key -iv $encrypted_c91e803a65f8_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