add drone configuration

This commit is contained in:
Ruan Bekker 2019-04-18 17:45:18 +02:00 committed by GitHub
parent 6ea554dd4f
commit 03e16059e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,22 @@
pipeline:
backend:
run_golang:
group: build
image: golang
commands:
- go build
- go test
frontend:
run_bash:
group: build
image: node
image: alpine
commands:
- npm install
- npm run test
- npm run build
- myhostname=$(hostname)
- echo my hostname is ${myhostname}
slack:
image: plugins/slack
channel: system_events
webhook:
from_secret: slack_webhook
from_secret: slack_webhook
when:
status: [ success, failure ]