trying to add coveralls

This commit is contained in:
Umputun
2018-05-22 01:10:14 -05:00
parent bc92154e58
commit 6158653164
+7 -4
View File
@@ -9,8 +9,11 @@ pipeline:
commands:
- cd app
- go build -v ./...
docker-master:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go test -v -covermode=count -coverprofile=coverage.out $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
docker_master:
image: plugins/docker
repo: umputun/remark
secrets: [ docker_username, docker_password ]
@@ -21,7 +24,7 @@ pipeline:
branch: [master, release/*]
event: push
docker-branch:
docker_branch:
image: plugins/docker
repo: umputun/remark
secrets: [ docker_username, docker_password ]
@@ -32,7 +35,7 @@ pipeline:
exclude: [master, release/*]
event: push
docker-pullrequest:
docker_pullrequest:
image: docker
commands:
- docker build .