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.

26 lines
570 B

local Pipeline(version, mod) = {
kind: "pipeline",
name: "test-" + version,
workspace: if mod then "/project/irc" else "/go/src/github.com/gissleh/irc",
steps: [
{
name: "test",
image: "goland:" + version,
commands: [
if mod then "go mod download" else "go get",
"go test -v ./...",
"go test -bench ./..."
]
}
]
};
[
Pipeline("1.14", true),
Pipeline("1.13", true),
Pipeline("1.12", true),
Pipeline("1.11", true),
Pipeline("1.11", false),
Pipeline("1.11", false),
Pipeline("1.11", false),
]