-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
25 lines (17 loc) · 705 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
language: go
dist: trusty
go:
- "1.14"
services:
- rabbitmq
env:
- AMQP_URI=amqp://guest:[email protected]:5672// GOMAXPROCS=4 GO111MODULE=on
before_install:
- go mod tidy
- go get -u -buildmode=exe -ldflags "-s -w" golang.org/x/tools/cmd/cover
- go get -u -buildmode=exe -ldflags "-s -w" github.com/mattn/goveralls
- mkdir -p $HOME/gopath/src/k8s.io && git clone --depth 1 -b v1.17.3 --single-branch -q https://github.com/kubernetes/kubernetes $HOME/gopath/src/k8s.io/kubernetes
script:
- go test -v -covermode=count -coverprofile=cover.out --tags=integration ./...
after_success:
- $HOME/gopath/bin/goveralls -coverprofile=cover.out -service=travis-ci -repotoken $COVERALLS_TOKEN