Skip to content

Commit

Permalink
ci script use -insecure flag too
Browse files Browse the repository at this point in the history
  • Loading branch information
vcptr committed Oct 10, 2019
1 parent 45afb53 commit 6233a1e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand All @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion release/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions release/release-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 6233a1e

Please sign in to comment.