My Current travis.yml文件如下所示:
language: csharp
solution: SealingServer.sln
install:
- nuget restore SealingServer.sln
script:
- xbuild /p:Configuration=Release /p:TargetFrameworkVersion="v4.5" SealingServer.sln
deploy:
provider: azure_web_apps
username: azure_deployment_user # If AZURE_WA_USERNAME isn't set
password: azure_deployment_password # If AZURE_WA_PASSWORD isn't set
site: azure_deployment_sitename # If AZURE_WA_SITE isn't set
verbose: true
on:
branch: master
以前看起来像这样:
language: csharp
solution: SealingServer.sln
install:
- nuget restore SealingServer.sln
script:
- xbuild /p:Configuration=Release /p:TargetFrameworkVersion="v4.5" SealingServer.sln
我不确定是什么添加导致它开始无声地失败。当我通过官方linter https://lint.travis-ci.org/运行它时,我收到此错误:
语法错误:():在解析第1行第5列的块映射时未找到预期的键
我的travis.yml做错了什么导致这种破损?我应该采用不同的方式使用travis部署到Azure。