FunctionalCuid/appveyor.yml

18 lines
652 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
2019-08-09 19:19:06 +00:00
- cmd: dotnet build -v n FunctionalCuid.Tests\FunctionalCuid.Tests.fsproj
- cmd: dotnet pack FunctionalCuid\FunctionalCuid.fsproj -o %CD%\artifacts\nupkg
2019-08-09 18:27:09 +00:00
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'
2019-08-09 20:10:16 +00:00
- ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\TestResults.xml))