Drone integration and Go module setup

master
ALI Hamza 2019-09-05 08:54:21 +07:00
parent ad3b660c87
commit 53412182e7
No known key found for this signature in database
GPG Key ID: BCA8A46C87798C4C
3 changed files with 23 additions and 0 deletions

@ -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 .

@ -0,0 +1,3 @@
module gitea.teamortix.com/Team-Ortix/JISQueueing
go 1.12

@ -0,0 +1,5 @@
package main
func main() {
//TODO: Populate with flags and calls to `http/`
}