mirror of
https://github.com/wahyd4/telegraf.git
synced 2026-08-21 02:26:08 +10:00
godep seems to have a problem when dependencies have `internal` packages. So removing `godep go build` and `godep go test` from the build process in favor of just checking out the correct revisions using `godep restore` into the regular GOPATH. This basically means that we are not actually using anything within the Godeps directory except Godeps.json. I should probably make a separate go dependency management system that does this.
21 lines
454 B
YAML
21 lines
454 B
YAML
machine:
|
|
services:
|
|
- docker
|
|
post:
|
|
- sudo service zookeeper stop
|
|
- go version
|
|
- go version | grep 1.5.1 || sudo rm -rf /usr/local/go
|
|
- wget https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz
|
|
- sudo tar -C /usr/local -xzf go1.5.1.linux-amd64.tar.gz
|
|
- go version
|
|
|
|
dependencies:
|
|
cache_directories:
|
|
- "~/telegraf-build/src"
|
|
override:
|
|
- docker info
|
|
|
|
test:
|
|
override:
|
|
- bash scripts/circle-test.sh
|