Skip to content

Commit f340b8d

Browse files
committed
switch to circle ci
1 parent 9fbfc60 commit f340b8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Check https://circleci.com/docs/2.0/language-go/ for more details
44
version: 2
55
jobs:
6-
test:
6+
build:
77
docker:
88
# specify the version
99
- image: circleci/golang:1.9
@@ -20,5 +20,5 @@ jobs:
2020
- run: go get github.com/axw/gocov/gocov
2121
- run: go get github.com/mattn/goveralls
2222
- run: go get golang.org/x/tools/cmd/cover
23-
- run: $HOME/gopath/bin/goveralls -service=travis-ci
24-
- run: go test -v ./...
23+
- run: go test -v -cover -race -coverprofile=/home/ubuntu/coverage.out
24+
- run: /home/ubuntu/.go_workspace/bin/goveralls -coverprofile=/home/ubuntu/coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN

0 commit comments

Comments
 (0)