diff --git a/.travis.yml b/.travis.yml index b23193d..bf29f1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,8 @@ language: csharp solution: LargeList.sln +install: + - nuget restore LargeList.sln + - nuget install NUnit.ConsoleRunner -Version 3.7.0 -OutputDirectory testrunner +script: + - xbuild /p:Configuration=Release LargeList.sln + - mono ./testrunner/NUnit.ConsoleRunner.3.7.0/tools/nunit3-console.exe ./LargeList/bin/x64/Release/Test-LargeList.dll diff --git a/LargeList/LargeList.csproj b/LargeList/LargeList.csproj index bd8788a..3e4c50e 100644 --- a/LargeList/LargeList.csproj +++ b/LargeList/LargeList.csproj @@ -50,6 +50,7 @@ + @@ -58,6 +59,12 @@ + + call "$(SolutionDir)updateversion.bat" "$(SolutionDir)" "$(SolutionPath)" "$(ProjectPath)" + + + copy /Y "$(SolutionDir)Test\Test-LargeList.dll" "$(TargetDir)" +