-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
26 lines (26 loc) · 955 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: 1.3.{build}
image: Visual Studio 2017
nuget:
disable_publish_on_pr: true
build_script:
- choco install "msbuild-sonarqube-runner" -y
- MSBuild.SonarQube.Runner.exe begin /k:"microdocum" /d:sonar.organization="rour-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="cbdf162317a340f70ceee07b9c6a21ec79dab3e1"
- dotnet restore
- dotnet build
- dotnet test Tests/MicroDocum.Analyzers.Tests
- dotnet test Tests/MicroDocum.Core.Tests
- dotnet test Tests/MicroDocum.Graphviz.Tests
- dotnet test Tests/MicroDocum.Themes.Tests
- MSBuild.SonarQube.Runner.exe end /d:sonar.login="cbdf162317a340f70ceee07b9c6a21ec79dab3e1"
artifacts:
- path: '**\MicroDocum.*.nupkg'
cache:
- '%USERPROFILE%\.nuget\packages'
deploy:
provider: NuGet
api_key:
secure: qdrVkSDGkMOzE5BHe8Vgsw8AbNuleevKC1oTECdc3JfNDQxXy2heBJ0VyIpU9BA6
skip_symbols: false
artifact: /.*MicroDocum.*\.nupkg/
on:
branch: master