Fix CI for go 1.11
All checks were successful
the build was successful

This commit is contained in:
Antoine Bartuccio 2019-01-04 11:16:04 +01:00
parent ed824600e9
commit cc31b9d00a

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
group: build
image: golang:1.11
group: test
secrets: [ test_api_token ]
environment: [ test_api_token ]
commands:
- export GOPATH=/drone
- go get -v -d ./...
- go test ./...
publish: