Fix CI for go 1.11
the build failed Details

This commit is contained in:
Antoine Bartuccio 2019-01-04 11:16:04 +01:00
parent ed824600e9
commit bfb51048fa
1 changed files with 4 additions and 2 deletions

View File

@ -1,16 +1,18 @@
pipeline:
build:
image: golang
image: golang:1.11
group: build
commands:
- export GOPATH=/drone
- go get -v -d ./...
- go build .
test:
image: golang
image: golang:1.11
group: build
secrets: [ test_api_token ]
environment: [ test_api_token ]
commands:
- export GOPATH=/drone
- go get -v -d ./...
- go test ./...
publish: