1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 09:56:18 -05:00
v2fly/appveyor.yml

35 lines
645 B
YAML
Raw Normal View History

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-10-03 05:48:32 -04:00
GOVERSION: "1.11.1"
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
- go get -t v2ray.com/core/...
- go get -t 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/...