Merge pull request #428 from pre-commit/fix_latest_git

Fix latest-git.sh
This commit is contained in:
Anthony Sottile
2016-11-07 11:08:59 -08:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ before_install:
- |
if [ "$LATEST_GIT" = "1" ]; then
./latest-git.sh
export PATH="/tmp/git:$PATH"
export PATH="/tmp/git/bin:$PATH"
fi
- git --version
after_success:

View File

@@ -3,5 +3,6 @@
set -ex
git clone git://github.com/git/git --depth 1 /tmp/git
pushd /tmp/git
make -j 8
make prefix=/tmp/git -j 8 all
make prefix=/tmp/git install
popd