1 Star 0 Fork 0

霍啸林/cake-build-resources

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
Håkon Løvdal 提交于 2020-11-24 01:53 . Copy build.sh back to root folder
language: csharp
env:
- CAKE_SETTINGS_SKIPVERIFICATION="true" CAKE_NUGET_USEINPROCESSCLIENT="true"
script:
- echo "Information(Context.Environment.Runtime.CakeVersion.ToString());" > build.cake
- ./build.sh || exit 1
- echo "Testing with modules/addin packages.config"
- mkdir tools/modules
- echo -e "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<packages>\r\n <package id=\"Cake.Chocolatey.Module\" version=\"0.5.0\" />\r\n</packages>" > ./tools/modules/packages.config
- mkdir tools/addins
- echo -e "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<packages>\r\n <package id=\"Cake.MicrosoftTeams\" version=\"0.7.0\" />\r\n</packages>" > ./tools/addins/packages.config
- ./build.sh || exit 1
- echo "Test build.ps1 with pester tests"
- pwsh -command "Invoke-Expression .\tests\Tests.ps1"
- ls -D -R
os:
- linux
dist: xenial
before_install:
- sudo snap install core
- sudo snap install powershell --classic
- pwsh -command "Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted"
- pwsh -command "Install-Module -Name Pester"
- cp dotnet-framework/build.sh build.sh
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/pxp/cake-build-resources.git
git@gitee.com:pxp/cake-build-resources.git
pxp
cake-build-resources
cake-build-resources
master

搜索帮助