diff --git a/.drone.yml b/.drone.yml index 6758f2c..8638d11 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: