forked from adorsys/keycloak-config-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
58 lines (48 loc) · 4.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
language: java
jdk:
- oraclejdk11
services:
- docker
# skip `mvn install` command
install: true
cache:
directories:
- .autoconf
- $HOME/.m2
script:
- mvn -Dkeycloak.version=$KEYCLOAK_VERSION clean verify -B -V
before_deploy:
- mkdir -p ./releases
- cp -a target/keycloak-tool.jar "releases/keycloak-tool-${KEYCLOAK_VERSION}.jar"
deploy:
- skip_cleanup: true
provider: script
script: /bin/bash .travis/docker_push.sh
on:
tags: true
# matches: vX.Y.Z, vX.Y.Z-A, vX.Y.Z-A-B.C.D, vX.Y.Z-A-B.C.D-E
condition: "$TRAVIS_TAG =~ ^v([[:digit:]]+\\.)+[[:digit:]]+(-[[:digit:]]+)?(-([[:digit:]]+\\.)+[[:digit:]]+(-[[:digit:]]+)?)?$"
- skip_cleanup: true
provider: releases
api_key:
secure: FIuwkoSRs6i1yEoCoiRpMcY+IGhpL5VH8w5Dj9s/apSLSyIFqTH3MKBMHY8PLIfEBtBQelTmEzdEcccoKqpX2dm0ctisF0ozJLkSLeXUgRojMEW9YbRk5xtJ5BJzSuB7+XGP6uEqQk/n/R9w3oO3cIiyX9jks4dLYY6IjXD8ivNJbk7C6u0c1Hp44rRqf/yT4HxRgxv2pvatwY2nv82s3O+uE6FXddIZ0cPJm4kt7tIUT0ER6UdHzNKVvVHLKncwgsOEBk3sWyU1N9xXbCTAdy3T/ay3in7tQ4R4sWQAnx54dGU2c+uHmxVmbuGS398PFBCVveOWtNpEOWxdt/fPVqpliDwD/EbHRNbs1C/V/0tGxrGUb3flSSMa5hUhgJlaxA+jC1M3gRmVH56kcSzhV5zuuyzM3Wn+uqF3ZL/8+D0KKj/EDLt/UQwQ1/Lh5re+Fwetc8xxfQiraz2X+FbZUN94veARGu572ZhIgx7yKBxF/APf60yn2edlbeuv3NU6KL5+NUxFTCmjrWO9otx3kA7YH/5+TMUaKolk5l92kUUKGrZDp8q0XOMgFDrE6z1i+t+GcXfC3iCPoB1SSVxTVOgJ6dZXwPwYLfUzPQbMRMMWUv7tGnjNM1B4eqzJc53All/o58EYypTiwjuUL4nDj7Cl6/AlDzJdOaysm5guyyA=
file: releases/keycloak-tool-${KEYCLOAK_VERSION}.jar
on:
tags: true
# matches: vX.Y.Z, vX.Y.Z-A, vX.Y.Z-A-B.C.D, vX.Y.Z-A-B.C.D-E
condition: "$TRAVIS_TAG =~ ^v([[:digit:]]+\\.)+[[:digit:]]+(-[[:digit:]]+)?(-([[:digit:]]+\\.)+[[:digit:]]+(-[[:digit:]]+)?)?$"
repo: borisskert/keycloak-tool
after_success:
- bash <(curl -s https://codecov.io/bash)
env:
matrix:
- KEYCLOAK_VERSION=8.0.2 IS_LATEST=false
- KEYCLOAK_VERSION=9.0.0 IS_LATEST=true
global:
- DOCKER_IMAGE_NAME=borisskert/keycloak-tool
# export DOCKER_HUB_USER=[secure]
- secure: "Jq9mcMREaYtnc57WeGlu3VplZPnfLb+y1XDIg2XTpzgtjWrhKQ+PJzX/LeJK0xi0Xqv2hM/h96lcrL+8p+58Ab8qJfLw44ZezEj28ubYHPt5ALVlbvzjMzOfCunx4luJxUb9cRZtnln7SpDnoCCf7kFiHSzXKtf1sO5ySOz7hc8hHcY5Ls5VDM/zuEmqunYY8LsdaLLV4gkxhsJc3JHlnvc+Xb2mlZYIbCJRN4c6klIhLIP0HjakPLXXrl/nqyxNOQmWTLRhzzsjgQwIlHgRWnKmbhLB5uVq0sy2ppsrPmri31XTbLe5ApS2H158d2Cc59obAa7e90cd0e7wZt1jRQMQBe1SyFXnf3+t8lG4wAi7g7M+yqNXNsp5xuciRmhf3DaylEfYqfNC6Rgaeyf3/4q+THH5lPDNQVG85DR9AzFq6BK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