Add travis ci config.

This commit is contained in:
Lantao Liu
2016-09-09 20:27:29 -07:00
parent a8f491c0d3
commit cd0f96424b
+10
View File
@@ -0,0 +1,10 @@
language: go
go:
- 1.6
install:
- mkdir -p $HOME/gopath/src/k8s.io
- mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/node-problem-detector
- cd $HOME/gopath/src/k8s.io/node-problem-detector
script:
- go test -v -race ./pkg/...
- go build -race