|
|
- machine:
- environment:
- GOPATH: /home/ubuntu/.go_workspace
- REPO: $GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
- GO15VENDOREXPERIMENT: 1
- 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
- # - git submodule sync
- # - git submodule update --init # use submodules
-
- test:
- override:
- - "go version"
- - "cd $REPO && make get_vendor_deps && make metalinter_test"
- - "cd $REPO && make test_integrations"
|