mirror of
https://codeberg.org/librarian/feeds
synced 2024-12-06 19:16:24 +01:00
[ci] Run go vet, gofmt and the race detector during tests.
This commit is contained in:
+7
-1
@@ -1,8 +1,14 @@
|
||||
language: go
|
||||
sudo: false
|
||||
|
||||
go:
|
||||
- 1.3
|
||||
- 1.4
|
||||
- 1.5
|
||||
- tip
|
||||
install:
|
||||
- go get golang.org/x/tools/cmd/vet
|
||||
script:
|
||||
- go get -t -v ./...
|
||||
- diff -u <(echo -n) <(gofmt -d -s .)
|
||||
- go tool vet .
|
||||
- go test -v -race ./...
|
||||
|
||||
Reference in New Issue
Block a user