trying to add coveralls
This commit is contained in:
+7
-4
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user