circle.yml

This commit is contained in:
Ethan Buchman 2017-02-13 12:25:50 -05:00
parent 5be9db68db
commit 1e21e8cfbe
1 changed files with 26 additions and 0 deletions

26
circle.yml Normal file
View File

@ -0,0 +1,26 @@
machine:
environment:
GOPATH: /home/ubuntu/.go_workspace
REPO: $GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
hosts:
circlehost: 127.0.0.1
localhost: 127.0.0.1
checkout:
post:
- rm -rf $REPO
- mkdir -p $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME
- mv $HOME/$CIRCLE_PROJECT_REPONAME $REPO
dependencies:
override:
- go get github.com/Masterminds/glide
- go version
- glide --version
- "cd $REPO && glide install"
test:
override:
- "cd $REPO && make test"