Skip to content

Commit

Permalink
Fix Gopath in circle.
Browse files Browse the repository at this point in the history
  • Loading branch information
BerniVarga committed May 11, 2017
1 parent dd2fa08 commit c113ee5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ machine:
PROJECT_GOPATH: "${HOME}/.go_project"
PROJECT_PARENT_PATH: "${PROJECT_GOPATH}/src/github.com/${CIRCLE_PROJECT_USERNAME}"
PROJECT_PATH: "${PROJECT_PARENT_PATH}/${CIRCLE_PROJECT_REPONAME}"
GOPATH: "${HOME}/.go_workspace:/usr/local/go_workspace:${PROJECT_GOPATH}"
GOPATH: "${HOME}/.go_workspace:${PROJECT_GOPATH}"

checkout:
post:
Expand All @@ -14,8 +14,7 @@ dependencies:
pre:
- go get -u github.com/kardianos/govendor
override:
- cd $PROJECT_PATH
- govendor sync -v
- cd $PROJECT_PATH && govendor sync -v
- cd $PROJECT_PATH && go build -v

test:
Expand Down

0 comments on commit c113ee5

Please sign in to comment.