1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-25 17:05:23 +00:00
v2fly/appveyor.yml

35 lines
645 B
YAML
Raw Normal View History

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-11-03 08:07:25 +00:00
GOVERSION: "1.11.2"
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
- 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/...