Skip to content

Commit 88e00b7

Browse files
szedergitster
authored andcommitted
travis-ci: don't store P4 and Git LFS in the working tree
The Clang and GCC 64 bit Linux build jobs download and store the P4 and Git LFS executables under the current directory, which is the working tree that we are about to build and test. This means that Git commands like 'status' or 'ls-files' would list these files as untracked. The next commit is about to make sure that there are no untracked files present after the build, and the downloaded executables in the working tree are interfering with those upcoming checks. Therefore, let's download P4 and Git LFS in the home directory, outside of the working tree. Signed-off-by: SZEDER Gábor <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9cc2c76 commit 88e00b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/lib-travisci.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ linux-clang|linux-gcc)
9999
export LINUX_P4_VERSION="16.2"
100100
export LINUX_GIT_LFS_VERSION="1.5.2"
101101

102-
P4_PATH="$(pwd)/custom/p4"
103-
GIT_LFS_PATH="$(pwd)/custom/git-lfs"
102+
P4_PATH="$HOME/custom/p4"
103+
GIT_LFS_PATH="$HOME/custom/git-lfs"
104104
export PATH="$GIT_LFS_PATH:$P4_PATH:$PATH"
105105
;;
106106
osx-clang|osx-gcc)

0 commit comments

Comments
 (0)