*: add basic test script + travis hook

Adds a simple test script, mostly to perform gofmt and govet checking;
currently tests only exist for the DHCP plugin.
This commit is contained in:
Jonathan Boulle
2015-09-07 16:15:18 -07:00
parent ef820646c5
commit d10d1a148e
2 changed files with 66 additions and 0 deletions

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
language: go
matrix:
include:
- go: 1.4
env: TOOLS_CMD=golang.org/x/tools/cmd
install:
- go get ${TOOLS_CMD}/vet
script:
- ./test
notifications:
email: false