add Travis CI, and pre-commit hooks

This commit is contained in:
Amrit Panesar committed 2017-12-27 22:55:29 -08:00
1 parent 325a21f38d
commit 8d951f617b
3 files changed
+58 -11

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
language: go
go:
- 1.8.x
- 1.9.x
- tip
before_install:
- go get -u -v github.com/spf13/pflag github.com/spf13/viper github.com/ahmetb/govvv github.com/golang/lint/golint
script:
- ./.pre-commit.sh
- govvv build