Browse Source

fix drone tests failing on pre-mod Go versions.

master
Gisle Aune 4 years ago
parent
commit
7d17bb6ad3
  1. 2
      .drone.jsonnet

2
.drone.jsonnet

@ -7,7 +7,7 @@ local Pipeline(version, mod) = {
name: "test",
image: "golang:" + version,
commands: [
if mod then "go mod download" else "go get",
if mod then "go mod download" else "go get -t",
"go test -v ./...",
"go test -bench ./..."
]

Loading…
Cancel
Save