travis: support influxdb
This commit is contained in:
parent
e2c6798c92
commit
02d6549f3e
14
.travis.yml
14
.travis.yml
@ -1,13 +1,17 @@
|
|||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.2
|
- 1.3
|
||||||
before_script:
|
before_script:
|
||||||
- go get github.com/stretchr/testify/mock
|
- go get github.com/stretchr/testify/mock
|
||||||
- go get github.com/kr/pretty
|
- go get github.com/kr/pretty
|
||||||
|
- wget http://s3.amazonaws.com/influxdb/influxdb_latest_amd64.deb
|
||||||
|
- sudo dpkg -i influxdb_latest_amd64.deb
|
||||||
|
- sudo service influxdb start
|
||||||
script:
|
script:
|
||||||
- go test -v -race github.com/google/cadvisor/container
|
- go test -v -race github.com/google/cadvisor/container
|
||||||
- go test -v github.com/google/cadvisor/info
|
- go test -v -race github.com/google/cadvisor/info
|
||||||
- go test -v github.com/google/cadvisor/client
|
- go test -v -race github.com/google/cadvisor/client
|
||||||
- go test -v github.com/google/cadvisor/sampling
|
- go test -v -race github.com/google/cadvisor/sampling
|
||||||
- go test -v github.com/google/cadvisor/storage/memory
|
- go test -v -race github.com/google/cadvisor/storage/memory
|
||||||
|
- go test -v -race github.com/google/cadvisor/storage/influxdb
|
||||||
- go build github.com/google/cadvisor
|
- go build github.com/google/cadvisor
|
||||||
|
Loading…
Reference in New Issue
Block a user