Merge branch 'master' of github.com:thatcosmonaut/encompass-cs

pull/5/head
Evan Hemsley 2019-06-20 10:46:22 -07:00
commit 74ec2f6320
1 changed files with 13 additions and 5 deletions

View File

@ -1,10 +1,18 @@
dist: xenial
language: csharp
solution: encompass-cs.sln
mono: none
dotnet: 2.1.502
install:
- nuget restore encompass-cs.sln
- nuget install NUnit.Console -OutputDirectory testrunner
script:
- msbuild /p:Configuration=Release -Version 3.9.0 encompass-cs.sln
- mono ./testrunner/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./test/bin/Release/netcoreapp2.2/encompass-cs.dll
- dotnet restore
- dotnet build -c Release
- dotnet test -c Release
deploy:
skip_cleanup: true
provider: script
script: dotnet nuget push ./encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -k $API_KEY -s $NUGET_SOURCE
on:
tags: true
repo: encompass-ecs/encompass-cs