3 Star 0 Fork 0

mirrors_unosquare/embedio

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 2.23 KB
一键复制 编辑 原始数据 按行查看 历史
Geovanni Perez 提交于 2019-12-05 16:56 . Change to CodeCov (#414)
version: '3.0.{build}'
image:
- Visual Studio 2019
- Ubuntu
environment:
APPVEYOR_YML_DISABLE_PS_LINUX: true
COVERALLS_REPO_TOKEN:
secure: 1Ce1wX4c2duHsRshiJRZFVIe6VI/r0WTAUG/tXuGFue9CmTI13NJRgZbl9irVKBA
op_build_user: "Geo Perez"
op_build_user_email: "geovanni.perez@gmail.com"
access_token:
secure: HzWdswNyfQbQ0vLk9IQyO+Ei9mxoPYp9rvv6HPhtC9J/Fm7EHRzyV953pbPRXI9I
before_build:
- ps: |
if(-Not $env:APPVEYOR_PULL_REQUEST_TITLE)
{
git checkout $env:APPVEYOR_REPO_BRANCH -q
cinst docfx -y --no-progress
}
- dotnet restore --verbosity q
- ps: |
$date_now = Get-Date
$cert = New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname localhost -notafter $date_now
$certThumb = $cert.Thumbprint
$guid = [guid]::NewGuid()
$command = "http add sslcert ipport=0.0.0.0:5555 certhash=$certThumb appid={$guid}"
$command | netsh
build_script:
- cmd: msbuild /verbosity:quiet /p:Configuration=Release EmbedIO.sln
test_script:
- dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude=[NUnit3.TestAdapter]* test/EmbedIO.Tests/EmbedIO.Tests.csproj -c Release
after_build:
- ps: |
if(-Not $env:APPVEYOR_PULL_REQUEST_TITLE -And $env:APPVEYOR_REPO_BRANCH -eq "master")
{
git config --global credential.helper store
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
git config --global core.autocrlf false
git config --global user.email $env:op_build_user_email
git config --global user.name $env:op_build_user
git clone -b documentation https://github.com/unosquare/best-practices.git -q
git clone https://github.com/unosquare/embedio.wiki.git wiki -q
docfx docfx.json --logLevel Error
git clone https://github.com/unosquare/embedio.git -b gh-pages origin_site -q
Copy-Item origin_site/.git _site -recurse
CD _site
Copy-Item README.html index.html -force
git add -A 2>&1
git commit -m "Documentation update" -q
git push origin gh-pages -q
CD ..
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_unosquare/embedio.git
git@gitee.com:mirrors_unosquare/embedio.git
mirrors_unosquare
embedio
embedio
master

搜索帮助