-
Notifications
You must be signed in to change notification settings - Fork 7
/
.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: "Hz6f6WEnzspw/1llUXY2aFWIHDkJkvWpM7q8ysl10G+eAmVytHb4wIBcEoAxIFb8+4L87w6bSGr9KXCD36POgKSfM0BgRGieiHw7Yu1jNY7BXdVjP7SnVrkZwGJ6WNvcrqlZBVyCt2BmRASv+sqmJ8I9InBS84zdgvbQtfPZ6JRGmuqQwsoz5n1sL0tFKuL4JNAh+Q82kjZx8cA0cbtQgYUBdsTCWAVnNNm9GawrEkccOhiTcXlYwa1oZcJX6Mj7DzIVZFEN9r56Ziyd9eilyMRmLsfH126Tqlom7u35GD0gKtWc5yZqQIz0shnelGdNfQF7xcDGSpD/Vjj7uh+Nv0Lfe3pJX0eAJHGGX4r6wdx2fJxypFOXmSWaVKglTSGSclIeT8H+nVSIrOu+fVGePtkZd4eALpznPHhKxNVZqkDdsHpi6+Q0sIBjwOXLbY1kOlwU7obl+kirk4Zb0gGi4vHPmdnvozA/wEP/J0ZD10q+c/P39AhHmaN7rMjvpN8om8UhxMDvncm4A+LNa/ySMxqegrT4nY+/Og39nDSA5XmfM1dGZnBtSAd6HfabITf4ajpn1HTh6Hm0CO9GxYkdEprA/Gxiy/UBgwPUeNwHzXckrkE+z1ifj66uTs1Crx8cWR6JsWlEeTWli67qY+vTdy/xPUIGSZXB15+myfAI1kI="
- secure: "bkxc6uPSkqJQAR1QOGSeQEXQzN0deUEL3rgYCvMiuO+elUIWckXip96468AB9pycmW+AeazcDT9LJfzxiVqxYPNeZbJvsTjBSQBRNsrJwWMwRFWux8Yab5PJMJhNaje7dDLRYlSYc2Dx9N3GBwe45glMRYIhQQs87mFYH9Fg4tiYACwxLQu/Q27IE22tQebWmMJEvUjuGwnXnue0lLaTuueruu2T6qFQ8ZU4uN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3/l2Q5lN91WC/3DmZlcpztE7wIecL3Lb9+cUTVUNRlGUckd8QOOt1NWFs6yGzM="
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_1963fd6ce20c_key -iv $encrypted_1963fd6ce20c_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