This repository was archived by the owner on Jul 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ linux_image: &linux_image
99
1010macos_image : &macos_image
1111 macos :
12- xcode : " 11.4 .0"
12+ xcode : " 11.7 .0"
1313
1414setup_macos_env : &setup_macos_env
1515
Original file line number Diff line number Diff line change @@ -9,15 +9,16 @@ set -o errexit
99set -o pipefail
1010
1111PROJECT_RELATIVE_PATH=src/github.com/codeclimate/test-reporter
12-
13- # Install go
12+
13+ # Install goSDK
14+ mkdir ~ /gosdk && cd " $_ "
15+ echo ' export PATH=$PATH:$HOME/gosdk/go/bin' >> " $BASH_ENV "
16+ echo ' export GOROOT=$HOME/gosdk/go' >> " $BASH_ENV "
1417curl -O https://dl.google.com/go/go1.15.darwin-amd64.tar.gz
1518tar -xzf go1.15.darwin-amd64.tar.gz
16- echo ' export PATH=$PATH:$PWD/go/bin' >> " $BASH_ENV "
1719
18- # Set go path
19- mkdir -p ~ /gopath/ ${PROJECT_RELATIVE_PATH}
20- echo ' export GOPATH=$HOME/gopath ' >> " $BASH_ENV "
20+ # Set go path - workspace root
21+ mkdir -p ~ /projects/go/ ${PROJECT_RELATIVE_PATH} && cd " $_ "
22+ echo ' export GOPATH=$HOME/projects/go ' >> " $BASH_ENV "
2123. " $BASH_ENV "
22- cd $GOPATH /${PROJECT_RELATIVE_PATH}
2324cp -r ~ /project/ $GOPATH /${PROJECT_RELATIVE_PATH}
You can’t perform that action at this time.
0 commit comments