forked from AthenZ/k8s-athenz-istio-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (23 loc) · 720 Bytes
/
.travis.yml
File metadata and controls
26 lines (23 loc) · 720 Bytes
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: go
env:
- GO111MODULE=on
go:
- 1.16.x
script:
- cd $GOPATH/src/github.com/yahoo/k8s-athenz-istio-auth
- go build -v -race ./...
- diff -u <(echo -n) <(gofmt -d .)
- go vet ./...
- go test -v -race ./...
- cd $GOPATH/src; mkdir k8s.io; cd k8s.io
- git clone https://github.com/kubernetes/kubernetes.git; cd kubernetes; git checkout release-1.17
- GO111MODULE=auto make WHAT=cmd/kube-apiserver
- cd $GOPATH/src/k8s.io/kubernetes/staging/src/k8s.io/cli-runtime
- cd $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/kube-openapi; go mod init
- cd $GOPATH/src/github.com/yahoo/k8s-athenz-istio-auth/test/integration; go test -v ./...
branches:
only:
- master
- authzpolicy
- authztest
- default-ap