module: setup Travis CI

This commit is contained in:
cn committed 2018-12-22 13:56:45 +01:00
1 parent 2a0e220b8e
commit d419347dd3
3 files changed
+32

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
---
sudo: false
language: go
go:
- "1.11.x"
- master
env:
- GO111MODULE=on
+21
View File
@@ -0,0 +1,21 @@
.POSIX:
.PHONY: all
all: clean build test
.PHONY: run
run: clean build test
sudo 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 ../..
+2
View File
@@ -1,5 +1,7 @@
# miflorad # miflorad
[![Build Status](https://travis-ci.org/cmur2/miflorad.svg?branch=master)](https://travis-ci.org/cmur2/miflorad)
This project aims to produce tools written in Go for interfacing with Xiaomi Flora sensors for IoT use cases. This project aims to produce tools written in Go for interfacing with Xiaomi Flora sensors for IoT use cases.
## Misc ## Misc