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 cff9f998d0
1 changed files with 4 additions and 2 deletions

View File

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