One-way backup tool with versioning and client-side encryption. Your precious data will never get lost!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
1.2 KiB

version: 1.0.{build}
image: Visual Studio 2019
before_build:
- nuget restore
- choco install sonarscanner-msbuild-netcoreapp2.0
#- choco install opencover
- choco install opencover.portable
- choco install codecov
build_script:
- msbuild /t:Rebuild EternalArrowBackup.sln
test_script:
- dotnet "C:\ProgramData\chocolatey\lib\sonarscanner-msbuild-netcoreapp2.0\tools\SonarScanner.MSBuild.dll" begin /key:"EternalArrowBackup" /version:"%APPVEYOR_REPO_COMMIT%" /o:inga-lovinde-github /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="%SONAR_LOGIN%" /d:sonar.cs.opencover.reportsPaths="OpenCover.xml"
- dotnet build /t:Rebuild /p:DebugType=full /p:DebugSymbols=true EternalArrowBackup.sln
- ps: Get-ChildItem *.Tests.csproj -Recurse | % {C:\ProgramData\chocolatey\lib\opencover.portable\tools\OpenCover.Console -register -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test --no-build --logger:trx;LogFileName=results.trx --filter Category!=Integration $_" -filter:"+[*]* -[*.Tests]*" -showunvisited -mergeoutput -output:OpenCover.xml -oldStyle}
- dotnet "C:\ProgramData\chocolatey\lib\sonarscanner-msbuild-netcoreapp2.0\tools\SonarScanner.MSBuild.dll" end /d:sonar.login="%SONAR_LOGIN%"
- codecov -f OpenCover.xml