From ad3c096ed9f2192cff4962d0852366c7534fe4d8 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Mon, 20 Jul 2020 18:44:32 +0200 Subject: [PATCH] fix drone ci --- .drone.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 809a163..776e963 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,13 +7,28 @@ workspace: path: irc/ pipeline: + test-1.8: + 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/ + - go test ./... -v + - go test -bench ./... + test-1.9: + image: golang:1.9 + commands: + - mkdir -p /go/src/github.com/gissleh/ + - mv /project/irc /go/src/github.com/gissleh/ + - cd /go/src/github.com/gissleh/irc/ + - go test ./... -v + - go test -bench ./... test-1.10: image: golang:1.10 commands: - mkdir -p /go/src/github.com/gissleh/ - mv /project/irc /go/src/github.com/gissleh/ - cd /go/src/github.com/gissleh/irc/ - - go get github.com/stretchr/testify/assert - go test ./... -v - go test -bench ./... test-1.11: