2018-07-29 04:33:09 -04:00
|
|
|
image: Visual Studio 2017
|
2018-07-25 05:31:59 -04:00
|
|
|
|
2018-07-29 04:33:09 -04:00
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
- x86
|
2018-07-25 05:31:59 -04:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
version: "1.0.{build}"
|
|
|
|
|
|
|
|
environment:
|
|
|
|
global:
|
|
|
|
GOPATH: C:\gopath
|
2018-08-25 14:17:12 -04:00
|
|
|
GOVERSION: "1.11"
|
2018-07-25 05:31:59 -04:00
|
|
|
|
|
|
|
install:
|
2018-08-25 06:50:06 -04:00
|
|
|
- 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
|
2018-07-25 05:31:59 -04:00
|
|
|
- go version
|
2018-07-25 05:36:58 -04:00
|
|
|
- go get -u v2ray.com/core/...
|
|
|
|
- go get -u v2ray.com/ext/...
|
2018-07-25 05:31:59 -04:00
|
|
|
|
2018-07-29 04:33:09 -04:00
|
|
|
build_script:
|
|
|
|
- go build v2ray.com/core/main
|
|
|
|
- go build v2ray.com/ext/tools/control/main
|
|
|
|
|
2018-07-25 05:34:34 -04:00
|
|
|
build: off
|
|
|
|
|
2018-07-25 05:31:59 -04:00
|
|
|
test_script:
|
|
|
|
- go test -p 1 -v v2ray.com/core/...
|