File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
3
3
go :
4
- - 1.7
5
- - 1.8
4
+ - 1.9
6
5
- tip
7
6
8
7
# skip the install step. don't `go get` deps. only build with code in vendor/
@@ -18,14 +17,13 @@ notifications:
18
17
email : false
19
18
20
19
before_script :
21
- - GO_FILES=$(find . -iname '*.go' | grep -v /vendor/)
22
- - PKGS=$(go list ./... | grep -v /vendor/)
20
+ - GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
23
21
- go get github.com/golang/lint/golint
24
22
- go get honnef.co/go/tools/cmd/megacheck
25
23
26
24
script :
27
25
- test -z $(gofmt -s -l $GO_FILES)
28
- - go test -v -race $PKGS
29
- - go vet $PKGS
30
- - megacheck $PKGS
31
- - golint -set_exit_status $PKGS
26
+ - go test -v -race ./...
27
+ - go vet ./...
28
+ - megacheck ./...
29
+ - golint -set_exit_status $(go list ./... | grep -v /vendor/)
You can’t perform that action at this time.
0 commit comments