circle-ci add go fmt + go vet
This commit is contained in:
parent
3c598ea419
commit
5f229709ad
|
@ -26,6 +26,12 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Unit tests
|
name: Unit tests
|
||||||
command: go test -v -cover -race -coverprofile=$COVER_PROFILE github.com/xdrm-brackets/nix-amer/... | tee $TEST_RESULTS/out
|
command: go test -v -cover -race -coverprofile=$COVER_PROFILE github.com/xdrm-brackets/nix-amer/... | tee $TEST_RESULTS/out
|
||||||
|
- run:
|
||||||
|
name: go fmt
|
||||||
|
command: go fmt github.com/xdrm-brackets/nix-amer/...
|
||||||
|
- run:
|
||||||
|
name: go vet
|
||||||
|
command: go vet github.com/xdrm-brackets/nix-amer/...
|
||||||
- run:
|
- run:
|
||||||
name: Update coveralls.io
|
name: Update coveralls.io
|
||||||
command: /go/bin/goveralls -coverprofile=$COVER_PROFILE -service=circle-ci -repotoken=$COVERALLS_TOKEN
|
command: /go/bin/goveralls -coverprofile=$COVER_PROFILE -service=circle-ci -repotoken=$COVERALLS_TOKEN
|
||||||
|
|
Loading…
Reference in New Issue