language: csharp
solution: src/GitVersion.sln
sudo: false
install:
  - nuget ?
  - nuget restore src/GitVersion.sln
  - nuget install NUnit.Runners -Version 3.2.1 -OutputDirectory ./src/packages
script:
  - xbuild "./src/GitVersion.sln" /property:Configuration="Debug" /verbosity:detailed
after_script:
  - mono --debug --runtime=v4.0.30319 ./src/packages/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe ./src/GitVersionTask.Tests/bin/Debug/GitVersionTask.Tests.dll ./src/GitVersionCore.Tests/bin/Debug/GitVersionCore.Tests.dll ./src/GitVersionTask.Tests/bin/Debug/GitVersionTask.Tests.dll ./src/GitVersionExe.Tests/bin/Debug/GitVersionExe.Tests.dll -where "cat != NoMono"

language: csharp
solution: src/GitVersion.sln
sudo: true
install:
  - sudo nuget update -self
  - nuget restore src/GitVersion.sln
  - nuget install NUnit.Runners -Version 3.2.1 -OutputDirectory ./src/packages
script:
  - xbuild "./src/GitVersion.sln" /property:Configuration="Debug" /verbosity:detailed
after_script:
  - mono --debug --runtime=v4.0.30319 ./src/packages/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe ./src/GitVersionTask.Tests/bin/Debug/GitVersionTask.Tests.dll ./src/GitVersionCore.Tests/bin/Debug/GitVersionCore.Tests.dll ./src/GitVersionTask.Tests/bin/Debug/GitVersionTask.Tests.dll ./src/GitVersionExe.Tests/bin/Debug/GitVersionExe.Tests.dll -where "cat != NoMono"

Bring back sudo and nuget self update
Bring back sudo and nuget self update
