circle-ci add go fmt + go vet

This commit is contained in:
Adrien Marquès 2018-11-16 06:55:45 +01:00
parent 3c598ea419
commit 5f229709ad
1 changed files with 6 additions and 0 deletions

View File

@ -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