forked from keycloak/keycloak-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (29 loc) · 914 Bytes
/
.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
sudo: required
language: go
go: 1.13.x
env:
global:
- CHANGE_MINIKUBE_NONE_USER=true
- MINIKUBE_WANTUPDATENOTIFICATION=false
- MINIKUBE_WANTREPORTERRORPROMPT=false
- MINIKUBE_HOME=$HOME
- CHANGE_MINIKUBE_NONE_USER=true
- KUBECONFIG=$HOME/.kube/config
matrix:
- TESTS=test/unit test/goveralls
- TESTS=test/e2e test/goveralls
- TESTS=test/e2e-local-image
before_install:
- go get github.com/mattn/goveralls
- go get github.com/modocache/gover
# Required by Kubernetes 1.18
- sudo apt-get install -y conntrack
- make setup/travis
install: make ${TESTS} NAMESPACE=default
after_failure:
- echo "---- Keycloak Server logs ----"
- kubectl logs keycloak-0
- echo "---- Testing Ingress ----"
- curl -kv https://keycloak.local/auth
- echo "---- Ingress Controller logs ----"
- kubectl logs -l app.kubernetes.io/name=nginx-ingress-controller -n kube-system