当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
vz 提交于 2020-06-11 10:10 . update and fmt CI yml
version: "{build}"
image: "Visual Studio 2017"
# platform: x64
clone_folder: c:\gopath\src\github.com\go-ego\riot
# max_jobs: 1
environment:
global:
GOPATH: C:\gopath
# CC: gcc.exe
matrix:
- GOARCH: amd64
# - GOARCH: 386
GOVERSION: 1.14.4
# GOPATH: c:\gopath
install:
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- git submodule update --init
- rmdir C:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-%GOARCH%.zip
- 7z x go%GOVERSION%.windows-%GOARCH%.zip -y -oC:\ > NUL
- go version
- go env
# - gcc --version
# To run your custom scripts instead of automatic MSBuild
build_script:
# We need to disable firewall - https://github.com/appveyor/ci/issues/1579#issuecomment-309830648
- ps: Disable-NetFirewallRule -DisplayName 'File and Printer Sharing (SMB-Out)'
- cd c:\gopath\src\github.com\go-ego\riot
- git branch
- go get -t ./...
# To run your custom scripts instead of automatic tests
test_script:
# Unit tests
- ps: Add-AppveyorTest "Unit Tests" -Outcome Running
# - go test -u github.com/go-ego/riot/...
- go test -v github.com/go-ego/riot/...
- ps: Update-AppveyorTest "Unit Tests" -Outcome Passed
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化