1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-20 06:25:24 +00:00

ci script use -insecure flag too

This commit is contained in:
vcptr 2019-10-10 15:14:50 +08:00
parent 45afb53614
commit 6233a1e6d9
4 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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