-
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: "lHcUCx4PTE+eKkKNgSJOQmjOL2Ex/ECjkZtsQqTs5G/ASV/gjnNYQgFGkBMqTNh58r6HsgaHb3Kb9xeS8cMLCakkPwksbndybhSC4JSEqLQSrKGXEub1P7BB1vZTMYaGExH6k6uXv5Eu8C0Y4kXuAuxHViY4qNi+4mRQQ2KpRH4wf78knHIYwLb9H5dPpuzvxlZ8m5zaqBhtWaUCIEF5srZcFLGRzmKNrghS/+1jJNtnBbw9ErwnQPlUFrQ5XPBLNeJvN+ydWE7zKO3UzhMVav+QxOsAGoHtw91PX7QmtkLttB5atPKxVpn8AyjSilhVoNVCloBoAoy6Xvw7916Zpik0YU5B5iVeGqhOM8bMDNm6ULNUIoEOirfnvB9wCRtrPm5tg37e4ofIW8fSbDq0B9cWzk9PdI41azTpcigACAO+ZdSqIB5YG3O9CsUpq+lEd3Js4kl/naGGBMANym2HB4XveNX4rfeue9OZPSl6m2kxhGbBAogKETXG3IOja0sX0tF7mWrTVbcWKpJdhh5GrT/4opcA9OAM7fqoNZlq0cOnEz8RyEH2evh1NFQAGvVU9hDUfx5SJ6t60x7CFdE0zHIVhyoqCcVa4LEQt5SjuEza7mxZofSIYqDXdNjMupVJaR7+6WQXOwHeGuNHsP8qeJqNHesJyNQhDahCQ1mcLPY="
- secure: "G9JEKLGX9uxObG0MRUrpPSFcmQqcbtKgiLEOk7IjJEerMruUuc3A9ZHfWaKC48YrmtWC9gf9rTLOit34/k3BmafnIEcKYVe2ZBwJkLP8ftyqlHcQS0JatgqDf3ifIcbWa/dGx3fsEkTXVNYeHfF5kIHty/40FxrUI9Jkz9qQ+gkHpiBbpfPMx+010Fesa3wWrZCM9cV3dGgNVBh/k2AwVdsp5CZhGIO1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KFfgyD38X9FDvyvDCK3xcpTDiaSe8ZXiEjZchKQZ0ThsyeHhWShn/zOaM0SBcmlZz5z8e3LkFpd6+zjJI="
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_ef396dfa673a_key -iv $encrypted_ef396dfa673a_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