cadvisor/.travis.yml
Kelsey Hightower e6d3895ea2 manage dependencies with godep
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.
2014-08-14 11:30:50 -07:00

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