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

@ -7,7 +7,7 @@ platform:
arch: amd64
steps:
- name: build
- name: build-push
pull: always
image: golang:1.11
commands:
@ -20,7 +20,7 @@ steps:
- push
- pull_request
- name: build
- name: build-tag
pull: always
image: golang:1.11
commands:
@ -32,6 +32,12 @@ steps:
event:
- tag
- name: executable
pull: always
image: golang:1.11
commands:
- ./release/windows/amd64/drone-hugo --help
- name: dryrun
pull: always
image: plugins/docker:windows-amd64