add git to drone build
This commit is contained in:
+3
-2
@@ -5,14 +5,15 @@ workspace:
|
||||
pipeline:
|
||||
|
||||
build:
|
||||
image: golang:1.9-alpine
|
||||
image: golang:1.10-alpine
|
||||
commands:
|
||||
- apk add --no-cache git
|
||||
- cd app
|
||||
- go build -v ./...
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user