25 lines
625 B
YAML
25 lines
625 B
YAML
machine:
|
|
environment:
|
|
GOPATH: "$HOME/.go_workspace"
|
|
PROJECT_PARENT_PATH: "$GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME"
|
|
REPO: "$PROJECT_PARENT_PATH/$CIRCLE_PROJECT_REPONAME"
|
|
PATH: "$GOPATH/bin:$PATH"
|
|
hosts:
|
|
circlehost: 127.0.0.1
|
|
localhost: 127.0.0.1
|
|
|
|
dependencies:
|
|
override:
|
|
- go get github.com/Masterminds/glide
|
|
- go version
|
|
- go get -u github.com/tendermint/tendermint/cmd/tendermint
|
|
- glide --version
|
|
- mkdir -p "$PROJECT_PARENT_PATH"
|
|
- ln -sf "$HOME/$CIRCLE_PROJECT_REPONAME/" "$REPO"
|
|
- env
|
|
|
|
test:
|
|
override:
|
|
- "cd $REPO && make all"
|
|
- ls $GOPATH/bin
|