FunctionalCuid/appveyor.yml
Daniel J. Summers d43b9f5d7c Fix path
typing...how does it work?
2019-08-09 14:14:23 -05:00

18 lines
652 B
YAML

os: Visual Studio 2019
build_script:
- cmd: dotnet tool install --global paket
- cmd: dotnet restore FunctionalCuid.sln
- cmd: dotnet build -v n --configuration Release FunctionalCuid\FunctionalCuid.fsproj
- cmd: dotnet build -v n FunctionalCuid\FunctionalCuid.Tests.fsproj
- cmd: dotnet pack FunctionalCuid.Tests\FunctionalCuid.fsproj -o %CD%\artifacts\nupkg
artifacts:
- path: artifacts\nupkg\*.nupkg
test_script:
- 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))