2017-02-13 09:25:50 -08:00
|
|
|
machine:
|
|
|
|
environment:
|
2017-05-16 07:43:49 -07:00
|
|
|
GOPATH: "$HOME/.go_workspace"
|
2017-05-16 07:20:36 -07:00
|
|
|
PROJECT_PARENT_PATH: "$GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME"
|
|
|
|
REPO: "$PROJECT_PARENT_PATH/$CIRCLE_PROJECT_REPONAME"
|
2017-05-16 09:52:43 -07:00
|
|
|
PATH: "$GOPATH/bin:$PATH"
|
2017-02-13 09:25:50 -08:00
|
|
|
hosts:
|
|
|
|
circlehost: 127.0.0.1
|
|
|
|
localhost: 127.0.0.1
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
override:
|
|
|
|
- go get github.com/Masterminds/glide
|
|
|
|
- go version
|
2017-06-29 02:40:42 -07:00
|
|
|
- go get -u github.com/tendermint/tendermint/cmd/tendermint
|
2017-02-13 09:25:50 -08:00
|
|
|
- glide --version
|
2017-05-16 07:20:36 -07:00
|
|
|
- mkdir -p "$PROJECT_PARENT_PATH"
|
|
|
|
- ln -sf "$HOME/$CIRCLE_PROJECT_REPONAME/" "$REPO"
|
|
|
|
- env
|
2017-02-13 09:25:50 -08:00
|
|
|
|
|
|
|
test:
|
|
|
|
override:
|
2017-06-18 16:01:54 -07:00
|
|
|
- "cd $REPO && make all"
|
2017-05-16 07:20:36 -07:00
|
|
|
- ls $GOPATH/bin
|