]>
git.ipfire.org Git - thirdparty/git.git/blob - ci/install-dependencies.sh
3 # Install dependencies required to build and test Git on Linux and macOS
6 .
${0%/*}/lib-travisci.sh
8 case "${TRAVIS_OS_NAME:-linux}" in
10 export GIT_TEST_HTTPD
=YesPlease
12 mkdir
--parents custom
/p4
14 wget
--quiet http
://filehost.perforce.com
/perforce
/r
$LINUX_P4_VERSION/bin.linux26x86_64
/p4d
15 wget
--quiet http
://filehost.perforce.com
/perforce
/r
$LINUX_P4_VERSION/bin.linux26x86_64
/p4
18 export PATH
="$(pwd):$PATH"
20 mkdir
--parents custom
/git-lfs
22 wget
--quiet https
://github.com
/github
/git-lfs
/releases
/download
/v
$LINUX_GIT_LFS_VERSION/git-lfs-linux-amd64-
$LINUX_GIT_LFS_VERSION.
tar.gz
23 tar --extract --gunzip --file "git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION.tar.gz"
24 cp git-lfs-
$LINUX_GIT_LFS_VERSION/git-lfs .
25 export PATH
="$(pwd):$PATH"
30 # Uncomment this if you want to run perf tests:
31 # brew install gnu-time
32 brew
install git-lfs
gettext
33 brew link
--force gettext
34 brew
install caskroom
/cask
/perforce
38 echo "$(tput setaf 6)Perforce Server Version$(tput sgr0)"
40 echo "$(tput setaf 6)Perforce Client Version$(tput sgr0)"
42 echo "$(tput setaf 6)Git-LFS Version$(tput sgr0)"