From 7af0a664dd016faf02bfe1ea1b3981920c1f60c2 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 24 Feb 2017 23:49:35 -0500 Subject: [PATCH] gopath --- .drone.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 3274048e1..5f0cd246c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,8 +1,12 @@ +workspace: + pipeline: clone: image: plugins/git build: image: golang + environment: + GOPATH: /drone commands: - go version - go env @@ -12,4 +16,6 @@ pipeline: slack: image: plugins/slack webhook: https://hooks.slack.com/services/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 - channel: build \ No newline at end of file + channel: build + when: + status: [ success, failure ] \ No newline at end of file