mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
d61ce98a67
This reverts commit 0c8551ea6b
.
35 lines
643 B
YAML
35 lines
643 B
YAML
image: Visual Studio 2017
|
|
|
|
platform:
|
|
- x64
|
|
- x86
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
version: "1.0.{build}"
|
|
|
|
environment:
|
|
global:
|
|
GOPATH: C:\gopath
|
|
GOVERSION: "1.11"
|
|
|
|
install:
|
|
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
|
- rmdir c:\go /s /q
|
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
|
|
- 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL
|
|
- go version
|
|
- go get -u v2ray.com/core/...
|
|
- go get -u v2ray.com/ext/...
|
|
|
|
build_script:
|
|
- go build v2ray.com/core/main
|
|
- go build v2ray.com/ext/tools/control/main
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
- go test -p 1 -v v2ray.com/core/...
|