ci script use -insecure flag too

pull/1936/head
vcptr 5 years ago
parent 45afb53614
commit 6233a1e6d9

@ -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)'

@ -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: |

@ -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

@ -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}

Loading…
Cancel
Save