1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

remove -u on go get

This commit is contained in:
Darien Raymond 2018-08-31 14:05:52 +02:00
parent bc153d1c5a
commit 4763baa7e6
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
3 changed files with 6 additions and 6 deletions

View File

@ -21,8 +21,8 @@ install:
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip - appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
- 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL - 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL
- go version - go version
- go get -u v2ray.com/core/... - go get v2ray.com/core/...
- go get -u v2ray.com/ext/... - go get v2ray.com/ext/...
build_script: build_script:
- go build v2ray.com/core/main - go build v2ray.com/core/main

View File

@ -32,8 +32,8 @@ export PATH=$PATH:/usr/local/go/bin
mkdir -p /v2ray/src mkdir -p /v2ray/src
export GOPATH=/v2ray export GOPATH=/v2ray
go get -u v2ray.com/core/... go get v2ray.com/core/...
go get -u v2ray.com/ext/... go get v2ray.com/ext/...
pushd $GOPATH/src/v2ray.com/core/ pushd $GOPATH/src/v2ray.com/core/
git checkout tags/${RELEASE_TAG} git checkout tags/${RELEASE_TAG}

View File

@ -14,6 +14,6 @@ build:
- tar -C /usr/local -xzf golang.tar.gz - tar -C /usr/local -xzf golang.tar.gz
- export PATH=$PATH:/usr/local/go/bin - export PATH=$PATH:/usr/local/go/bin
- export GOPATH=/v2ray - export GOPATH=/v2ray
- go get -u v2ray.com/core/... - go get v2ray.com/core/...
- go get -u v2ray.com/ext/... - go get v2ray.com/ext/...
- go test -p 1 -v v2ray.com/core/... - go test -p 1 -v v2ray.com/core/...