Browse Source

Added Drone CI build script

1.0
Gisle Aune 7 years ago
parent
commit
4684f4fdd7
  1. 22
      .drone.yml

22
.drone.yml

@ -0,0 +1,22 @@
workspace:
base: /go
path: src/git.aiterp.net/rpdata/api
pipeline:
environment:
- CGO_ENABLED=0
build:
image: golang:1.10
commands:
- dep ensure
- go generate ./...
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/${CMD} ./cmd/${CMD}
matrix:
CMD:
- rpdata-graphiql
- rpdata-lb2charimport
- rpdata-lb2logimport
- rpdata-wikifileimport
- rpdata-ensurechannels
- rpdata-as2storyimport
Loading…
Cancel
Save