-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
32 lines (32 loc) · 4.22 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
27
28
29
30
31
32
language: java
services:
- docker
jdk:
- oraclejdk8
cache:
directories:
- "$HOME/.m2"
sudo: false
script: mvn clean package -Pdocker
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ]; then
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD;
export APP_VERSION="1.0.0-SNAPSHOT";
export REPO="finium/keycloak";
export DOCKER_TAG="latest";
docker tag $REPO:$APP_VERSION $REPO:$DOCKER_TAG;
docker push $REPO:$DOCKER_TAG;
fi
- if [ -n "$TRAVIS_TAG" ]; then
openssl aes-256-cbc -pass pass:$ENCRYPTION_PASSWORD -in $GPG_DIR/pubring.kbx.enc -out $GPG_DIR/pubring.kbx -d;
mvn deploy -B -U --settings $GPG_DIR/settings.xml -DperformRelease=true -DskipTests=true;
fi
env:
global:
- GPG_DIR="`pwd`/travis"
- DOCKER_DIR="`pwd`/docker"
- secure: wami5PHltZXInGW0lbeZvcK/rmKWfSC2fGmbAVTUGcv9AxfI1txIFSg5rvaEziqHGJXnna9Ek3UF+x5SUwptPeF8JkhBZZP8lhv+ILhqIkvd11rRM933bxzRfrapISY1VTL+22GWrvlJzI1bOEnm4Xql2wmGVcEdtmd4F1qXB02nHSrcXlflJq8Cw3hgrLa4OQArlhTWN76eXyDR8uvA7VnmmW0EziMjbVoDTTKMJdWUMZnqgUWbTgsn4weTdu/czGfOaEXvojOPX8FlmmuHtP71sl/kfzwziB63oMm+XjfPDduxde9dtfI1OLaQJ3p4zmOoIGAqywmqL1VWTYN4XreRWpSGfO5wV0J/QUDCLkjmQxFB9C62hfZD8D0v6zKwRFZMMGXyXrGkKw01wK5wIv8JgOv8YfDsfuSPBUG0dY3tH2RWikH3F5xccklXgf7yrKE6XhiULBN52A95RhxgFmWUs64eq7l/hsIm5Eal5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