Skip to content

Commit 31ec96f

Browse files
Unshallow repo before building on travis
1 parent 5f000bb commit 31ec96f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ os:
77
- linux
88
- osx
99
before_install: # We need to download nuget.exe due to: https://github.com/travis-ci/travis-ci/issues/5932
10+
- git fetch --unshallow
1011
- mkdir -p .nuget
1112
- wget -O .nuget/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
1213
- mono .nuget/nuget.exe
@@ -15,7 +16,7 @@ install:
1516
- mono .nuget/nuget.exe install NUnit.Runners -Version 3.2.1 -OutputDirectory ./src/packages
1617
script:
1718
- xbuild ./src/GitVersion.sln /property:Configuration="Debug" /verbosity:detailed
18-
- mono ./build/NuGetCommandLineBuild/tools/GitVersion.exe -l -console -output buildserver -updateAssemblyInfo
19+
- mono ./build/NuGetCommandLineBuild/tools/GitVersion.exe -l console -output buildserver -updateAssemblyInfo
1920
- xbuild ./src/GitVersion.sln /property:Configuration="Debug" /verbosity:detailed
2021
- mono ./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" --noresult
2122

@@ -25,4 +26,4 @@ script:
2526
#
2627
# To run a clean build with Mono, executing all tests, do:
2728
# xbuild ./src/GitVersion.sln /t:Clean /verbosity:quiet && xbuild ./src/GitVersion.sln /property:Configuration="Debug" /verbosity:quiet && mono ./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 --noresult --where "cat != NoMono" --noresult
28-
#
29+
#

0 commit comments

Comments
 (0)