forked from k8snetworkplumbingwg/multus-cni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (40 loc) · 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
language: go
go:
- 1.5
- 1.6
- 1.7
- 1.8
- 1.9
- master
- release
- tip
env:
- GO15VENDOREXPERIMENT=1
install: true
matrix:
allow_failures:
- go: master
fast_finish: true
notifications:
email: false
before_script:
- go get -t -v ./...
- go get github.com/golang/lint/golint
- go get honnef.co/go/tools/cmd/megacheck
- go get github.com/fzipp/gocyclo
- go get github.com/mattn/goveralls
- go get honnef.co/go/tools/cmd/staticcheck
script:
- ./build
- go test -v $(go list ./... | grep -v /vendor/)
- go test -v -cover $(go list ./... | grep -v /vendor/)
- golint multus/multus.go
- bash <(curl -s https://codecov.io/bash)
- goveralls -service=travis-ci
- go vet -v $(go list ./... | grep -v /vendor/)
- megacheck $(go list ./... | grep -v /vendor/)
- gocyclo -over 19 $(go list ./... | grep -v /vendor/)
- staticcheck $(go list ./... | grep -v /vendor/)
#after_success:
# - bash <(curl -s https://codecov.io/bash)
# - goveralls -service=travis-ci