Execute built binary as simple test

This commit is contained in:
Thomas Boerger 2019-01-22 23:13:38 +01:00
commit 8d6fcd6b8c
No known key found for this signature in database
GPG key ID: 09745AFF9D63C79B
3 changed files with 34 additions and 2 deletions

View file

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