forked from kumuluz/kumuluzee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (21 loc) · 1.1 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
env:
global:
- secure: e4gw3Hrp3FQVNbbC30QMtrH4BHgL0zcNvVgEPluHAIym4c0XT2JAjLQhGJTjgesJZw3HrM/2ltHtzMuZUifMsegZQRIl+9SQQTFfDddx8GKZM4AnhA0kSHZqsYgcA+gtzw8injF7oKucq9YlkenXJ6rDD6Hcbs/XXBItRmvYDSI=
- secure: t3feznQD/aHE2X69tHBq3QBmD8I0IpnjqVPSco/iwAhBbQAlq+QXUBX0YhGnI3vP7/jvQ6OSEcpgl++3psw5bJr9vzeCOKMjl6x1zgPSXpUkNGczoTvbyt/6XYnYyB50KhWGUeLgmIMQKXiUOC5gIJOFAgH4xWw3kVgHBvIZ6i8=
- secure: sOfajpt3u7pRW4ox+YrjDO/YCsQ5zQ9WSe28nhvrf+ppnKyRNcB6dKOE9ntnJ/fvukvK3BTolotryW2F+KjgK6diPpxeRAyQbY5F68t8pROe8hHcRsoO8/kSmPTKrwH0U1tVGVvavUoBcS5QA6bkym1qpl2/kNAmtk7uimeV2O0=
jdk:
- openjdk8
cache:
directories:
- $HOME/.m2
install: mvn clean install -DskipTests=true -V -U
script: mvn test -Dkumuluzee.plugin.test.skip=true
after_success:
# Deploy to OSSHR
- if [[ $TRAVIS_PULL_REQUEST == "false" && ($TRAVIS_BRANCH == "master" || $TRAVIS_TAG) ]]; then
openssl aes-256-cbc -K $encrypted_047edc09e660_key -iv $encrypted_047edc09e660_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