fix drone tests failing on pre-mod Go versions.
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-11-30 21:27:12 +01:00
parent 5b3c0b6541
commit 7d17bb6ad3
+1 -1
View File
@@ -7,7 +7,7 @@ local Pipeline(version, mod) = {
name: "test", name: "test",
image: "golang:" + version, image: "golang:" + version,
commands: [ 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 -v ./...",
"go test -bench ./..." "go test -bench ./..."
] ]