Mirror of github.com/gissleh/irc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.5 KiB

name: irc
kind: pipeline
type: exec
workspace:
base: /project
path: irc/
pipeline:
test-1.14:
image: golang:1.14
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.12:
image: golang:1.12
commands:
- go mod download
- 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.10:
image: golang:1.10
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/
- ls -lR
- go test ./... -v
- go test -bench ./...
test-1.9:
image: golang:1.9
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 ./...
test-1.8:
image: golang:1.8
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 ./...
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."