File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,24 @@ language: csharp
2
2
solution : src/GitVersion.sln
3
3
sudo : false
4
4
before_install : # We need to download nuget.exe due to: https://github.com/travis-ci/travis-ci/issues/5932
5
+ - git status
6
+ - git show-ref HEAD --head
7
+ - git show HEAD -s
8
+ - cat .git/HEAD
9
+ - cat .git/FETCH_HEAD
5
10
- git fetch --unshallow
6
11
- git status
7
12
- git show-ref HEAD --head
8
13
- git show HEAD -s
9
14
- cat .git/HEAD
15
+ - cat .git/FETCH_HEAD
16
+ - git fetch origin +refs/pull/890/merge
17
+ - git checkout -qf FETCH_HEAD
18
+ - git status
19
+ - git show-ref HEAD --head
20
+ - git show HEAD -s
21
+ - cat .git/HEAD
22
+ - cat .git/FETCH_HEAD
10
23
- mkdir -p .nuget
11
24
- wget -O .nuget/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
12
25
- mono .nuget/nuget.exe
@@ -19,6 +32,7 @@ script:
19
32
- git show-ref HEAD --head
20
33
- git show HEAD -s
21
34
- cat .git/HEAD
35
+ - cat .git/FETCH_HEAD
22
36
- mono ./build/NuGetCommandLineBuild/tools/GitVersion.exe -l console -output buildserver -updateAssemblyInfo
23
37
- xbuild ./src/GitVersion.sln /property:Configuration="Debug" /verbosity:detailed
24
38
- 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
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ build_script:
12
12
- cmd : git show-ref HEAD --head
13
13
- cmd : git show HEAD -s
14
14
- cmd : type .git\HEAD
15
+ - cmd : type .git\FETCH_HEAD
15
16
- cmd : nuget restore src/GitVersion.sln
16
17
- cmd : npm i -g tfx-cli
17
18
@@ -20,6 +21,7 @@ build_script:
20
21
- cmd : git show-ref HEAD --head
21
22
- cmd : git show HEAD -s
22
23
- cmd : type .git\HEAD
24
+ - cmd : type .git\FETCH_HEAD
23
25
- ps : .\build\NuGetCommandLineBuild\tools\GitVersion.exe /l console /output buildserver /updateAssemblyInfo
24
26
- cmd : msbuild src/GitVersion.sln "/p:Configuration=%CONFIGURATION%;Platform=%PLATFORM%"
25
27
You can’t perform that action at this time.
0 commit comments