You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
567 B

  1. machine:
  2. environment:
  3. GOPATH: /home/ubuntu/.go_workspace
  4. REPO: $GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
  5. hosts:
  6. circlehost: 127.0.0.1
  7. localhost: 127.0.0.1
  8. checkout:
  9. post:
  10. - rm -rf $REPO
  11. - mkdir -p $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME
  12. - mv $HOME/$CIRCLE_PROJECT_REPONAME $REPO
  13. # - git submodule sync
  14. # - git submodule update --init # use submodules
  15. dependencies:
  16. override:
  17. - "cd $REPO && make get_vendor_deps"
  18. test:
  19. override:
  20. - "cd $REPO && make test_race"