Browse Source

fix drone ci

master
Gisle Aune 4 years ago
parent
commit
c25a467546
  1. 21
      .drone.yml

21
.drone.yml

@ -9,35 +9,30 @@ workspace:
pipeline: pipeline:
test-1.14: test-1.14:
image: golang:1.14 image: golang:1.14
group: tests
commands: commands:
- go mod download - go mod download
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...
test-1.13: test-1.13:
image: golang:1.13 image: golang:1.13
group: tests
commands: commands:
- go mod download - go mod download
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...
test-1.12: test-1.12:
image: golang:1.12 image: golang:1.12
group: tests
commands: commands:
- go mod download - go mod download
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...
test-1.11: test-1.11:
image: golang:1.11 image: golang:1.11
group: tests
commands: commands:
- go mod download - go mod download
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...
test-1.10: test-1.10:
image: golang:1.10 image: golang:1.10
group: tests
commands: commands:
- mkdir -p /go/src/github.com/gissleh/ - mkdir -p /go/src/github.com/gissleh/
- ln -s /project/irc /go/src/github.com/gissleh/irc - ln -s /project/irc /go/src/github.com/gissleh/irc
@ -47,7 +42,6 @@ pipeline:
- go test -bench ./... - go test -bench ./...
test-1.9: test-1.9:
image: golang:1.9 image: golang:1.9
group: tests
commands: commands:
- mkdir -p /go/src/github.com/gissleh/ - mkdir -p /go/src/github.com/gissleh/
- ln -s /project/irc /go/src/github.com/gissleh/irc - ln -s /project/irc /go/src/github.com/gissleh/irc
@ -56,10 +50,21 @@ pipeline:
- go test -bench ./... - go test -bench ./...
test-1.8: test-1.8:
image: golang:1.8 image: golang:1.8
group: tests
commands: commands:
- mkdir -p /go/src/github.com/gissleh/ - mkdir -p /go/src/github.com/gissleh/
- ln -s /project/irc /go/src/github.com/gissleh/irc - ln -s /project/irc /go/src/github.com/gissleh/irc
- cd /go/src/github.com/gissleh/irc/ - cd /go/src/github.com/gissleh/irc/
- go test ./... -v - go test ./... -v
- go test -bench ./...
- 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."
Loading…
Cancel
Save