Execute built binary as simple test

This commit is contained in:
Thomas Boerger
2019-01-22 23:12:12 +01:00
parent 81a6499ee8
commit b3ccd0b778
3 changed files with 32 additions and 0 deletions

View File

@@ -72,6 +72,14 @@ local PipelineBuild(binary="docker", os="linux", arch="amd64") = {
event: [ "tag" ],
},
},
if binary == "docker" then {
name: "executable",
image: "golang:1.11",
pull: "always",
commands: [
"./release/" + os + "/" + arch + "/drone-" + binary + " --help",
],
},
{
name: "dryrun",
image: "plugins/docker:" + os + "-" + arch,