2018-07-29 08:33:09 +00:00
|
|
|
image: Visual Studio 2017
|
2018-07-25 09:31:59 +00:00
|
|
|
|
2018-07-29 08:33:09 +00:00
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
- x86
|
2018-07-25 09:31:59 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
version: "1.0.{build}"
|
|
|
|
|
|
|
|
environment:
|
|
|
|
global:
|
|
|
|
GOPATH: C:\gopath
|
2018-10-03 09:48:32 +00:00
|
|
|
GOVERSION: "1.11.1"
|
2018-07-25 09:31:59 +00:00
|
|
|
|
|
|
|
install:
|
2018-08-25 10:50:06 +00: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 09:31:59 +00:00
|
|
|
- go version
|
2018-10-06 18:55:59 +00:00
|
|
|
- go get -t v2ray.com/core/...
|
|
|
|
- go get -t v2ray.com/ext/...
|
2018-07-25 09:31:59 +00:00
|
|
|
|
2018-07-29 08:33:09 +00:00
|
|
|
build_script:
|
|
|
|
- go build v2ray.com/core/main
|
|
|
|
- go build v2ray.com/ext/tools/control/main
|
|
|
|
|
2018-07-25 09:34:34 +00:00
|
|
|
build: off
|
|
|
|
|
2018-07-25 09:31:59 +00:00
|
|
|
test_script:
|
|
|
|
- go test -p 1 -v v2ray.com/core/...
|