add git to drone build

This commit is contained in:
Umputun
2018-05-22 01:15:24 -05:00
parent 6158653164
commit 84ce31f18c
+3 -2
View File
@@ -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