From 6233a1e6d9c7162b9aeb951d5d66b9fc520b4fc1 Mon Sep 17 00:00:00 2001 From: vcptr <51714622+vcptr@users.noreply.github.com> Date: Thu, 10 Oct 2019 15:14:50 +0800 Subject: [PATCH] ci script use -insecure flag too --- azure-pipelines.template.yml | 2 +- azure-pipelines.yml | 6 +++--- release/install.sh | 2 +- release/release-ci.sh | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.template.yml b/azure-pipelines.template.yml index 867d7e5f..11b224f2 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 f72c550e..2673feaf 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 1b7b3473..c7d52b0b 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 4bc56e2f..9a6754b5 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}