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
9
9
10
10
macos_image : &macos_image
11
11
macos :
12
- xcode : " 11.4 .0"
12
+ xcode : " 11.7 .0"
13
13
14
14
setup_macos_env : &setup_macos_env
15
15
Original file line number Diff line number Diff line change @@ -9,15 +9,16 @@ set -o errexit
9
9
set -o pipefail
10
10
11
11
PROJECT_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 "
14
17
curl -O https://dl.google.com/go/go1.15.darwin-amd64.tar.gz
15
18
tar -xzf go1.15.darwin-amd64.tar.gz
16
- echo ' export PATH=$PATH:$PWD/go/bin' >> " $BASH_ENV "
17
19
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 "
21
23
. " $BASH_ENV "
22
- cd $GOPATH /${PROJECT_RELATIVE_PATH}
23
24
cp -r ~ /project/ $GOPATH /${PROJECT_RELATIVE_PATH}
You can’t perform that action at this time.
0 commit comments