This commit adds all cadvisor dependencies as the result of running the following commands: go get -u godep save The .travis.yml file has been updated to use godep for building binaries and running tests. The prepare.sh script has been updated to use godep to build the cadvisor binary.
17 lines
513 B
YAML
17 lines
513 B
YAML
language: go
|
|
go:
|
|
- 1.3
|
|
before_script:
|
|
- go get github.com/stretchr/testify/mock
|
|
- go get github.com/kr/pretty
|
|
- go get code.google.com/p/go.tools/cmd/vet
|
|
- go get github.com/kr/godep
|
|
- wget http://s3.amazonaws.com/influxdb/influxdb_latest_amd64.deb
|
|
- sudo dpkg -i influxdb_latest_amd64.deb
|
|
- sudo service influxdb start
|
|
script:
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
|
- godep go test -v -race github.com/google/cadvisor/...
|
|
- godep go build github.com/google/cadvisor
|
|
- go vet github.com/google/cadvisor
|