Skip to content

Commit

Permalink
circle gvm
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Oct 21, 2015
1 parent 080d60f commit 4b47ac0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ build-linux-bins: prepare
./cmd/kapacitord/main.go

prepare:
go get -u ./...
go get -u -t ./...

test: prepare
$(GO) tool vet --composites=false ./
$(GO) test ./...

test-short: prepare
Expand Down
14 changes: 7 additions & 7 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
machine:
pre:
- bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
- source $HOME/.gvm/scripts/gvm; gvm install $GO_VERSION --binary
environment:
IMPORT_PATH: "github.com/influxdb/kapacitor"
GO_VERSION: go1.5.1

dependencies:
override:
- mkdir -p "$GOPATH/src/$IMPORT_PATH"
- rsync -azC --delete ./ "$GOPATH/src/$IMPORT_PATH/"
- source $HOME/.gvm/scripts/gvm; gvm use $GO_VERSION; mkdir -p "$GOPATH/src/$IMPORT_PATH"
- source $HOME/.gvm/scripts/gvm; gvm use $GO_VERSION; rsync -azC --delete ./ "$GOPATH/src/$IMPORT_PATH/"

test:
pre:
- go tool vet --composites=false ./
- go get -u -t ./...

override:
- go test ./...
- source $HOME/.gvm/scripts/gvm; gvm use $GO_VERSION; make -C "$GOPATH/src/$IMPORT_PATH/"

0 comments on commit 4b47ac0

Please sign in to comment.