Back to regular circle.yml, make and artifact linux binaries

Remove the circle-test.sh script because that environment was having
problems building all of gopsutil.
This commit is contained in:
Cameron Sparr
2015-08-10 10:22:15 -06:00
parent 7da12dc324
commit 7a23eb69eb
2 changed files with 20 additions and 62 deletions

View File

@@ -1,11 +1,22 @@
machine:
pre:
- bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
- source $HOME/.gvm/scripts/gvm; gvm install go1.4.2 --binary
dependencies:
override:
- echo "Dummy override, so no Circle dependencies execute"
post:
# install golint
- go get github.com/golang/lint/golint
# install gox
- go get -u -f github.com/mitchellh/gox
# install binaries
- go install ./...
test:
override:
- bash circle-test.sh
pre:
# Go fmt should pass all files
- "[ `git ls-files | grep '.go$' | xargs gofmt -l 2>&1 | wc -l` -eq 0 ]"
- go vet ./...
- golint .
- golint testutil/...
- golint cmd/...
override:
- make test-short
post:
- gox -os="linux" -arch="386 amd64" ./...
- mv telegraf* $CIRCLE_ARTIFACTS