diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..d11a953 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,15 @@ +kind: pipeline +name: Build +steps: +- name: Build + image: golang:1.12 + commands: + - go build . +- name: Unit Tests + image: golang:1.12 + commands: + - go test -tag=unit . +- name: Integration Tests + image: golang:1.12 + commands: + - go test -tag=integration . diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..173cd9a --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module gitea.teamortix.com/Team-Ortix/JISQueueing + +go 1.12 diff --git a/main.go b/main.go new file mode 100644 index 0000000..a297bc0 --- /dev/null +++ b/main.go @@ -0,0 +1,5 @@ +package main + +func main() { + //TODO: Populate with flags and calls to `http/` +}