Execute built binary as simple test

This commit is contained in:
Thomas Boerger committed 2019-01-22 23:32:10 +01:00
1 parent 81a6499ee8
commit b3ccd0b778
3 files changed
+32

No files matched your search

+8
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,