mirror of
https://github.com/gissleh/irc.git
synced 2026-10-19 04:52:54 +00:00
change drone ci to allow for testing with older versions.
continuous-integration/drone/push Build is failing
continuous-integration/drone/push Build is failing
This commit is contained in:
+29
-10
@@ -7,17 +7,36 @@ workspace:
|
|||||||
path: irc/
|
path: irc/
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
test:
|
test-1.10:
|
||||||
name: test-go-${GO_VERSION}
|
image: golang:1.10
|
||||||
image: golang:${GO_VERSION}
|
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
|
||||||
|
- go test ./... -v
|
||||||
|
- go test -bench ./...
|
||||||
|
test-1.11:
|
||||||
|
image: golang:1.11
|
||||||
|
commands:
|
||||||
|
- go mod download
|
||||||
|
- go test ./... -v
|
||||||
|
- go test -bench ./...
|
||||||
|
test-1.12:
|
||||||
|
image: golang:1.12
|
||||||
|
commands:
|
||||||
|
- go mod download
|
||||||
|
- go test ./... -v
|
||||||
|
- go test -bench ./...
|
||||||
|
test-1.13:
|
||||||
|
image: golang:1.13
|
||||||
|
commands:
|
||||||
|
- go mod download
|
||||||
|
- go test ./... -v
|
||||||
|
- go test -bench ./...
|
||||||
|
test-1.14:
|
||||||
|
image: golang:1.14
|
||||||
commands:
|
commands:
|
||||||
- go mod download
|
- go mod download
|
||||||
- go test ./... -v
|
- go test ./... -v
|
||||||
- go test -bench ./...
|
- go test -bench ./...
|
||||||
|
|
||||||
matrix:
|
|
||||||
GO_VERSION:
|
|
||||||
- "1.11"
|
|
||||||
- "1.12"
|
|
||||||
- "1.13"
|
|
||||||
- "1.14"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user