From 85a4ff36a821f579a1f2541381bd4031555ab247 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Mon, 20 Jul 2020 18:47:25 +0200 Subject: [PATCH] fix drone ci --- .drone.yml | 47 ++++++++++++++++++++++------------------------- 1 file changed, 22 insertions(+), 25 deletions(-) diff --git a/.drone.yml b/.drone.yml index 776e963..c13dd26 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,28 +7,22 @@ workspace: path: irc/ pipeline: - test-1.8: - image: golang:1.8 + test-1.14: + image: golang:1.14 commands: - - mkdir -p /go/src/github.com/gissleh/ - - mv /project/irc /go/src/github.com/gissleh/ - - cd /go/src/github.com/gissleh/irc/ + - go mod download - go test ./... -v - go test -bench ./... - test-1.9: - image: golang:1.9 + test-1.13: + image: golang:1.13 commands: - - mkdir -p /go/src/github.com/gissleh/ - - mv /project/irc /go/src/github.com/gissleh/ - - cd /go/src/github.com/gissleh/irc/ + - go mod download - go test ./... -v - go test -bench ./... - test-1.10: - image: golang:1.10 + test-1.12: + image: golang:1.12 commands: - - mkdir -p /go/src/github.com/gissleh/ - - mv /project/irc /go/src/github.com/gissleh/ - - cd /go/src/github.com/gissleh/irc/ + - go mod download - go test ./... -v - go test -bench ./... test-1.11: @@ -37,21 +31,24 @@ pipeline: - go mod download - go test ./... -v - go test -bench ./... - test-1.12: - image: golang:1.12 + move-into-gopath: + image: golang:1.8 + commands: + - mkdir -p /go/src/github.com/gissleh/ + - mv /project/irc /go/src/github.com/gissleh/ + - cd /go/src/github.com/gissleh/irc/ + test-1.10: + image: golang:1.10 commands: - - go mod download - go test ./... -v - go test -bench ./... - test-1.13: - image: golang:1.13 + test-1.9: + image: golang:1.9 commands: - - go mod download - go test ./... -v - go test -bench ./... - test-1.14: - image: golang:1.14 + test-1.8: + image: golang:1.8 commands: - - go mod download - go test ./... -v - - go test -bench ./... + - go test -bench ./... \ No newline at end of file