language: csharp
dotnet: 2.1.801
solution: Nerdle.AutoConfig.sln
install:
  - nuget restore Nerdle.AutoConfig.sln
  - nuget install NUnit.ConsoleRunner -Version 3.10.0 -OutputDirectory testrunner
script:
  - msbuild /p:Configuration=Release Nerdle.AutoConfig.sln
  - mono ./testrunner/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe ./Nerdle.AutoConfig.Tests.Unit/bin/Release/net4*/Nerdle.AutoConfig.Tests.Unit.dll
  - mono ./testrunner/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe ./Nerdle.AutoConfig.Tests.Integration/bin/Release/net4*/Nerdle.AutoConfig.Tests.Integration.dll
  - dotnet vstest ./Nerdle.AutoConfig.Tests.Unit/bin/Release/netcore*/Nerdle.AutoConfig.Tests.Unit.dll
  - dotnet vstest ./Nerdle.AutoConfig.Tests.Integration/bin/Release/netcore*/Nerdle.AutoConfig.Tests.Integration.dll

language: csharp
dotnet: 2.1.801
git:
  depth: false
solution: Nerdle.AutoConfig.sln
install:
  - nuget restore Nerdle.AutoConfig.sln
  - nuget install NUnit.ConsoleRunner -Version 3.10.0 -OutputDirectory testrunner
script:
  - msbuild /p:Configuration=Release Nerdle.AutoConfig.sln
  - mono ./testrunner/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe ./Nerdle.AutoConfig.Tests.Unit/bin/Release/net4*/Nerdle.AutoConfig.Tests.Unit.dll
  - mono ./testrunner/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe ./Nerdle.AutoConfig.Tests.Integration/bin/Release/net4*/Nerdle.AutoConfig.Tests.Integration.dll
  - dotnet vstest ./Nerdle.AutoConfig.Tests.Unit/bin/Release/netcore*/Nerdle.AutoConfig.Tests.Unit.dll
  - dotnet vstest ./Nerdle.AutoConfig.Tests.Integration/bin/Release/netcore*/Nerdle.AutoConfig.Tests.Integration.dll

Disable shallow clone on Travis CI
Disable shallow clone on Travis CI

It looks like the shallow clone is causing trouble to MinVer.

dotnet "/home/travis/.nuget/packages/minver/1.2.0/build/../minver/MinVer.dll" --auto-increment "" --build-metadata "" --default-pre-release-phase "" --minimum-major-minor "" --repo "/home/travis/build/edpollitt/Nerdle.AutoConfig/Nerdle.AutoConfig" --tag-prefix "v" --verbosity "" --version-override ""
  
  Unhandled Exception: LibGit2Sharp.NotFoundException: object not found - no match for id (70d9fa918158110d240566adcd8fec857ca3b044)

Instructions to disable shallow clone on https://docs.travis-ci.com/user/customizing-the-
build/#git-clone-depth