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.

21 lines
563 B

8 years ago
  1. machine:
  2. environment:
  3. GOPATH: /home/ubuntu/.go_workspace
  4. PROJECT_PARENT_PATH: "$GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME"
  5. PROJECT_PATH: $GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
  6. GO15VENDOREXPERIMENT: 1
  7. hosts:
  8. circlehost: 127.0.0.1
  9. localhost: 127.0.0.1
  10. dependencies:
  11. override:
  12. - mkdir -p "$PROJECT_PARENT_PATH"
  13. - ln -sf "$HOME/$CIRCLE_PROJECT_REPONAME/" "$PROJECT_PATH"
  14. post:
  15. - go version
  16. test:
  17. override:
  18. - "go version"
  19. - "cd $PROJECT_PATH && make get_tools && make all"