File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ matrix:
71
71
packages :
72
72
- coccinelle
73
73
before_install :
74
- # " before_script" that builds Git is inherited from base job
74
+ before_script :
75
75
script : ci/run-static-analysis.sh
76
76
after_failure :
77
77
- env : Documentation
Original file line number Diff line number Diff line change @@ -12,20 +12,18 @@ case "${TRAVIS_OS_NAME:-linux}" in
12
12
linux)
13
13
export GIT_TEST_HTTPD=YesPlease
14
14
15
- mkdir --parents custom/p4
16
- pushd custom/p4
15
+ mkdir --parents " $P4_PATH "
16
+ pushd " $P4_PATH "
17
17
wget --quiet " $P4WHENCE /bin.linux26x86_64/p4d"
18
18
wget --quiet " $P4WHENCE /bin.linux26x86_64/p4"
19
19
chmod u+x p4d
20
20
chmod u+x p4
21
- export PATH=" $( pwd) :$PATH "
22
21
popd
23
- mkdir --parents custom/git-lfs
24
- pushd custom/git-lfs
22
+ mkdir --parents " $GIT_LFS_PATH "
23
+ pushd " $GIT_LFS_PATH "
25
24
wget --quiet " $LFSWHENCE /git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION .tar.gz"
26
25
tar --extract --gunzip --file " git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION .tar.gz"
27
26
cp git-lfs-$LINUX_GIT_LFS_VERSION /git-lfs .
28
- export PATH=" $( pwd) :$PATH "
29
27
popd
30
28
;;
31
29
osx)
Original file line number Diff line number Diff line change @@ -26,3 +26,11 @@ skip_branch_tip_with_tag () {
26
26
set -e
27
27
28
28
skip_branch_tip_with_tag
29
+
30
+ case " ${TRAVIS_OS_NAME:- linux} " in
31
+ linux)
32
+ P4_PATH=" $( pwd) /custom/p4"
33
+ GIT_LFS_PATH=" $( pwd) /custom/git-lfs"
34
+ export PATH=" $GIT_LFS_PATH :$P4_PATH :$PATH "
35
+ ;;
36
+ esac
You can’t perform that action at this time.
0 commit comments