Skip to content

Commit 09cc71f

Browse files
Additional git status checks during build
1 parent 234f0bc commit 09cc71f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ solution: src/GitVersion.sln
33
sudo: false
44
before_install: # We need to download nuget.exe due to: https://github.com/travis-ci/travis-ci/issues/5932
55
- git fetch --unshallow
6+
- git status
67
- git show-ref HEAD --head
78
- git show HEAD -s
89
- cat .git/HEAD
@@ -15,6 +16,9 @@ install:
1516
script:
1617
- xbuild ./src/GitVersion.sln /property:Configuration="Debug" /verbosity:detailed
1718
- git status
19+
- git show-ref HEAD --head
20+
- git show HEAD -s
21+
- cat .git/HEAD
1822
- mono ./build/NuGetCommandLineBuild/tools/GitVersion.exe -l console -output buildserver -updateAssemblyInfo
1923
- xbuild ./src/GitVersion.sln /property:Configuration="Debug" /verbosity:detailed
2024
- 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

appveyor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ configuration:
88
- Debug
99

1010
build_script:
11+
- cmd: git status
1112
- cmd: git show-ref HEAD --head
1213
- cmd: git show HEAD -s
1314
- cmd: type .git\HEAD
@@ -16,6 +17,9 @@ build_script:
1617

1718
- cmd: msbuild src/GitVersion.sln "/p:Configuration=%CONFIGURATION%;Platform=%PLATFORM%"
1819
- cmd: git status
20+
- cmd: git show-ref HEAD --head
21+
- cmd: git show HEAD -s
22+
- cmd: type .git\HEAD
1923
- ps: .\build\NuGetCommandLineBuild\tools\GitVersion.exe /l console /output buildserver /updateAssemblyInfo
2024
- cmd: msbuild src/GitVersion.sln "/p:Configuration=%CONFIGURATION%;Platform=%PLATFORM%"
2125

0 commit comments

Comments
 (0)