From c25a467546fd7cb85f449a90313744f51c39f1ec Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Mon, 20 Jul 2020 19:03:13 +0200 Subject: [PATCH] fix drone ci --- .drone.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index aa81efc..cfceb51 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,35 +9,30 @@ workspace: pipeline: test-1.14: image: golang:1.14 - group: tests commands: - go mod download - go test ./... -v - go test -bench ./... test-1.13: image: golang:1.13 - group: tests commands: - go mod download - go test ./... -v - go test -bench ./... test-1.12: image: golang:1.12 - group: tests commands: - go mod download - go test ./... -v - go test -bench ./... test-1.11: image: golang:1.11 - group: tests commands: - go mod download - go test ./... -v - go test -bench ./... test-1.10: image: golang:1.10 - group: tests commands: - mkdir -p /go/src/github.com/gissleh/ - ln -s /project/irc /go/src/github.com/gissleh/irc @@ -47,7 +42,6 @@ pipeline: - go test -bench ./... test-1.9: image: golang:1.9 - group: tests commands: - mkdir -p /go/src/github.com/gissleh/ - ln -s /project/irc /go/src/github.com/gissleh/irc @@ -56,10 +50,21 @@ pipeline: - go test -bench ./... test-1.8: image: golang:1.8 - group: tests commands: - mkdir -p /go/src/github.com/gissleh/ - ln -s /project/irc /go/src/github.com/gissleh/irc - cd /go/src/github.com/gissleh/irc/ - go test ./... -v - - go test -bench ./... \ No newline at end of file + - go test -bench ./... + done: + image: golang:1.8 + depends_on: + - test-1.14 + - test-1.13 + - test-1.12 + - test-1.11 + - test-1.10 + - test-1.9 + - test-1.8 + commands: + - "Dummy step for parallelization." \ No newline at end of file