mirror of
https://github.com/cmur2/miflorad.git
synced 2026-04-02 16:18:34 +02:00
travis
This commit is contained in:
9
.travis.yml
Normal file
9
.travis.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
sudo: false
|
||||||
|
language: go
|
||||||
|
go:
|
||||||
|
- "1.11.x"
|
||||||
|
- master
|
||||||
|
|
||||||
|
env:
|
||||||
|
- GO111MODULE=on
|
||||||
21
Makefile
Normal file
21
Makefile
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
.POSIX:
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: clean build test
|
||||||
|
|
||||||
|
.PHONY: run
|
||||||
|
run: clean build test
|
||||||
|
cmd/munin-miflora/munin-miflora xyz 00:00:00:00:00:00
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
rm -f cmd/munin-miflora/munin-miflora
|
||||||
|
|
||||||
|
.PHONY: build
|
||||||
|
build: cmd/munin-miflora/munin-miflora
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
test: build
|
||||||
|
|
||||||
|
cmd/munin-miflora/munin-miflora:
|
||||||
|
cd cmd/munin-miflora; go build; cd ../..
|
||||||
Reference in New Issue
Block a user