mirror of
https://github.com/minio/minio.git
synced 2025-12-02 22:20:43 -05:00
Use GOPROXY to speed up builds (#7984)
Read more here https://proxy.golang.org proposal for go1.13
This commit is contained in:
committed by
Nitish Tiwari
parent
63e0a81760
commit
b83413b167
@@ -23,5 +23,5 @@ fi
|
||||
|
||||
test_run_dir="$MINT_RUN_CORE_DIR/minio-go"
|
||||
(git clone https://github.com/minio/minio-go && cd minio-go && git checkout --quiet "tags/$MINIO_GO_VERSION")
|
||||
GO111MODULE=on CGO_ENABLED=0 go build -o "$test_run_dir/minio-go" "minio-go/functional_tests.go"
|
||||
GOPROXY=https://proxy.golang.org GO111MODULE=on CGO_ENABLED=0 go build -o "$test_run_dir/minio-go" "minio-go/functional_tests.go"
|
||||
rm -rf minio-go
|
||||
|
||||
Reference in New Issue
Block a user