diff --git a/azure-pipelines.template.yml b/azure-pipelines.template.yml index 867d7e5ff..11b224f2b 100644 --- a/azure-pipelines.template.yml +++ b/azure-pipelines.template.yml @@ -9,7 +9,7 @@ jobs: - checkout: self - task: GoTool@0 inputs: - version: '1.12' + version: '1.13' - script: | go test -p 1 -v -timeout 30m ./... workingDirectory: '$(Build.SourcesDirectory)' diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f72c550ed..2673feaf8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -37,7 +37,7 @@ jobs: - checkout: self - task: GoTool@0 inputs: - version: '1.12' + version: '1.13' - script: | bash ./testing/coverage/coverall workingDirectory: '$(Build.SourcesDirectory)' @@ -59,14 +59,14 @@ jobs: - checkout: none - task: GoTool@0 inputs: - version: '1.12' + version: '1.13' - script: | sudo apt-get -y update sudo apt-get -y install jq git file pkg-config zip g++ zlib1g-dev unzip python openssl displayName: Apt Install - script: | go version - go get -v -t -d v2ray.com/core/... + go get -insecure -v -t -d v2ray.com/core/... workingDirectory: '$(system.defaultWorkingDirectory)' displayName: 'Fetch sources' - script: | diff --git a/release/install.sh b/release/install.sh index 1b7b34734..c7d52b0bb 100755 --- a/release/install.sh +++ b/release/install.sh @@ -21,6 +21,6 @@ if [ -z "$GOPATH" ]; then export GOPATH=/v2ray fi -go get -u v2ray.com/core/... +go get -insecure -u v2ray.com/core/... go build -o $GOPATH/bin/v2ray v2ray.com/core/main go build -o $GOPATH/bin/v2ctl v2ray.com/core/infra/control/main diff --git a/release/release-ci.sh b/release/release-ci.sh index 4bc56e2f7..9a6754b59 100644 --- a/release/release-ci.sh +++ b/release/release-ci.sh @@ -46,8 +46,8 @@ mkdir -p /v2/src export GOPATH=/v2 # Download all source code -go get -t v2ray.com/core/... -go get -t v2ray.com/ext/... +go get -insecure -t v2ray.com/core/... +go get -insecure -t v2ray.com/ext/... pushd $GOPATH/src/v2ray.com/core/ git checkout tags/${RELEASE_TAG}