forked from louketo/louketo-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (41 loc) · 3.16 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
env:
global:
- REGISTRY_USERNAME=gambol99+rebotbuilder
- REGISTRY=quay.io
- secure: L2Cx0t8rSc1x3bvVbC3ONSkw5i/b5sznvZFSrzxL7iaDjVIGxSFNYo7J0u3eKQh3+X/IxVvjsCSY/LyKErODzCsiv88BnpGvVRsu+Mq78NFMgrcPetXA/S0X/IEOfqiQ8F+a/7NNY+KJEEfKROwRrPbKx7bUpB+jkPQr5Hiyh77i0jcEl8ZKr/3zyuQBr5QMS7j9CQTkR7/vqi2Cd2LE4vxwC7Vi9cjs9fv64XeDfRY5eUJX7DZUs9M73lhQ5HwId40nNPjncrjRdQwAfmkbt2skV5v9xcPeuKvvynFy+11mkINMOR7PEK6nvyYq9bbAxarxSvYjRvPC1uIlXSHDO9FlEXzR0iAy26m0o9dOYloCs1mARFvOqPGWdxH6XXGSG4MtREpTXGFmIcStUCQGvMhY7NttYjD2leZTvPP99tODcUa6KQiQvH4ycPRmOwmgR496n+uW9IZWSEG1soRWZwxGJKxJVvwgt64V9UWWlxhb8+nAs/Ka1Lr8PqBKNNMjLBvLVIEOEldJz6Vk5fu3CtUIfxwMXwSfGmzPB1JZK5yB9Rc8vciPtaM6JaSAeTcp0e8SMOgUrk5lv9p72T5NvOh3U4DF4qvznK7saT20RHJF9080VQRyb/0m065oCn25ynvSJI9LZ5jzF5uQ+0D0mXnwnpUbWPopLf1NwKrS27Y=
- secure: jX+wrfNA7TA0T+WVjQvg/WYWldaajobpsAMHVh+ZrvrnkfUeWyy7wS8ZccR+xAEMMXWRnVe1aLGhvWJdtoWV5/UAD0iPz8oqudlE17i1Jmt2aP3sl2mrnCRklIzVJoWIFNIWVlsZON9FkRcb3lbSM9BzWanYLpXB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Osv8cA2lTs8mU/U+YijIfAeUDkiq2pV7VIcZ8Op4wNj0tkT3jXbFNswAl20NHWO8yJ2rIBcbTxQuFDEXRg3B+CdaB/doRCXtLpw8e9XsqcGqxMDmJVyZ6uOgW6aUsRDMdj0E=
services:
- docker
language: go
go:
- "1.10"
install:
- go get github.com/Masterminds/glide
- go get github.com/mattn/goveralls
- go get -u github.com/client9/misspell/cmd/misspell
script:
- make test
- if ([[ ${TRAVIS_BRANCH} == "master" ]] && [[ ${TRAVIS_EVENT_TYPE} == "push" ]]) || [[ -n ${TRAVIS_TAG} ]]; then
NAME=GOOS=windows GOARCH=amd64 go build -o bin/keycloak-proxy-windows-amd64.exe;
NAME=GOOS=linux GOARCH=amd64 go build -o bin/keycloak-proxy-linux-amd64;
docker login -u ${REGISTRY_USERNAME} -p ${REGISTRY_TOKEN} ${REGISTRY};
VERSION=${TRAVIS_TAG:-latest} make docker-release;
fi
- if ([[ ${TRAVIS_BRANCH} == "master" ]] && [[ ${TRAVIS_EVENT_TYPE} == "push" ]]); then
go get github.com/mattn/goveralls;
goveralls -service=travis-ci;
make bench;
fi
deploy:
provider: releases
skip_cleanup: true
on:
repo: gambol99/keycloak-proxy
tags: true
api_key:
secure: "${GITHUB_TOKEN}"
file:
- bin/keycloak-proxy-windows-amd64.exe
- bin/keycloak-proxy-linux-amd64