ci / install-dependencies.shon commit progress: drop delay-threshold code (9c5951c)
   1#!/usr/bin/env bash
   2#
   3# Install dependencies required to build and test Git on Linux and macOS
   4#
   5
   6. ${0%/*}/lib-travisci.sh
   7
   8P4WHENCE=http://filehost.perforce.com/perforce/r$LINUX_P4_VERSION
   9LFSWHENCE=https://github.com/github/git-lfs/releases/download/v$LINUX_GIT_LFS_VERSION
  10
  11case "${TRAVIS_OS_NAME:-linux}" in
  12linux)
  13        export GIT_TEST_HTTPD=YesPlease
  14
  15        mkdir --parents custom/p4
  16        pushd custom/p4
  17                wget --quiet "$P4WHENCE/bin.linux26x86_64/p4d"
  18                wget --quiet "$P4WHENCE/bin.linux26x86_64/p4"
  19                chmod u+x p4d
  20                chmod u+x p4
  21                export PATH="$(pwd):$PATH"
  22        popd
  23        mkdir --parents custom/git-lfs
  24        pushd custom/git-lfs
  25                wget --quiet "$LFSWHENCE/git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION.tar.gz"
  26                tar --extract --gunzip --file "git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION.tar.gz"
  27                cp git-lfs-$LINUX_GIT_LFS_VERSION/git-lfs .
  28                export PATH="$(pwd):$PATH"
  29        popd
  30        ;;
  31osx)
  32        brew update --quiet
  33        # Uncomment this if you want to run perf tests:
  34        # brew install gnu-time
  35        brew install git-lfs gettext
  36        brew link --force gettext
  37        brew install caskroom/cask/perforce
  38        ;;
  39esac
  40
  41echo "$(tput setaf 6)Perforce Server Version$(tput sgr0)"
  42p4d -V | grep Rev.
  43echo "$(tput setaf 6)Perforce Client Version$(tput sgr0)"
  44p4 -V | grep Rev.
  45echo "$(tput setaf 6)Git-LFS Version$(tput sgr0)"
  46git-lfs version