We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fbfc60 commit f340b8dCopy full SHA for f340b8d
.circleci/config.yml
@@ -3,7 +3,7 @@
3
# Check https://circleci.com/docs/2.0/language-go/ for more details
4
version: 2
5
jobs:
6
- test:
+ build:
7
docker:
8
# specify the version
9
- image: circleci/golang:1.9
@@ -20,5 +20,5 @@ jobs:
20
- run: go get github.com/axw/gocov/gocov
21
- run: go get github.com/mattn/goveralls
22
- run: go get golang.org/x/tools/cmd/cover
23
- - run: $HOME/gopath/bin/goveralls -service=travis-ci
24
- - run: go test -v ./...
+ - run: go test -v -cover -race -coverprofile=/home/ubuntu/coverage.out
+ - run: /home/ubuntu/.go_workspace/bin/goveralls -coverprofile=/home/ubuntu/coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN
0 commit comments