Browse Source

fix drone ci

master
Gisle Aune 4 years ago
parent
commit
85a4ff36a8
  1. 45
      .drone.yml

45
.drone.yml

@ -7,28 +7,22 @@ workspace:
path: irc/ path: irc/
pipeline: pipeline:
test-1.8:
image: golang:1.8
test-1.14:
image: golang:1.14
commands: 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 ./... -v
- go test -bench ./... - go test -bench ./...
test-1.9:
image: golang:1.9
test-1.13:
image: golang:1.13
commands: 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 ./... -v
- go test -bench ./... - go test -bench ./...
test-1.10:
image: golang:1.10
test-1.12:
image: golang:1.12
commands: 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 ./... -v
- go test -bench ./... - go test -bench ./...
test-1.11: test-1.11:
@ -37,21 +31,24 @@ pipeline:
- go mod download - go mod download
- go test ./... -v - go test ./... -v
- go test -bench ./... - 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: commands:
- go mod download
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...
test-1.13:
image: golang:1.13
test-1.9:
image: golang:1.9
commands: commands:
- go mod download
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...
test-1.14:
image: golang:1.14
test-1.8:
image: golang:1.8
commands: commands:
- go mod download
- go test ./... -v - go test ./... -v
- go test -bench ./... - go test -bench ./...
Loading…
Cancel
Save