Browse Source

fix drone ci

master
Gisle Aune 4 years ago
parent
commit
b2b2d2bdaf
  1. 7
      .drone.yml

7
.drone.yml

@ -9,30 +9,35 @@ 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
@ -42,6 +47,7 @@ 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
@ -50,6 +56,7 @@ 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

Loading…
Cancel
Save