FunctionalCuid/appveyor.yml

18 lines
646 B
YAML
Raw Normal View History

2019-08-09 18:27:09 +00:00
os: Visual Studio 2019
build_script:
- cmd: dotnet tool install --global paket
- cmd: dotnet restore FunctionalCuid.sln
2019-08-09 19:00:35 +00:00
- cmd: dotnet build -v n --configuration Release FunctionalCuid\FunctionalCuid.fsproj
- cmd: dotnet build -v n FunctionalCuid\FunctionalCuid.Tests.fsproj
2019-08-09 18:27:09 +00:00
- cmd: dotnet pack FunctionalCuid\FunctionalCuid.fsproj -o %CD%\artifacts\nupkg
artifacts:
- path: artifacts\nupkg\*.nupkg
test_script:
2019-08-09 19:00:35 +00:00
- ps: cd FunctionalCuid.Tests
- ps: dotnet run
- ps: $wc = New-Object 'System.Net.WebClient'
- ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/xunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\TestResults.xml))