From 3b2c22c5a10eed558204d4c4771bbd86223393ce Mon Sep 17 00:00:00 2001 From: Geno Date: Thu, 18 May 2017 10:20:38 +0200 Subject: [PATCH] Update circle.yml --- circle.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/circle.yml b/circle.yml index 96fdac2..f98c9f5 100644 --- a/circle.yml +++ b/circle.yml @@ -6,13 +6,12 @@ machine: dependencies: override: - - mkdir -p ~/.go_workspace/src/github.com/${CIRCLE_PROJECT_USERNAME} - - ln -s ${HOME}/${CIRCLE_PROJECT_REPONAME} ${HOME}/.go_workspace/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME} - - go get -t -d -v ./... + - go get -t -d -v github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/... test: pre: - go get github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover override: - - ./.test-coverage circle-ci ${COVERALLS_REPO_TOKEN} + - cd ${GOPATH}/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/ + - ${GOPATH}/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/.test-coverage circle-ci ${COVERALLS_REPO_TOKEN}