1 # http://docs.travis-ci.com/user/languages/go/
11 - GIT_LFS_TEST_DIR="$HOME/git-lfs-tests"
12 - GIT_SOURCE_REPO="https://github.com/git/git.git"
13 - GIT_EARLIEST_SUPPORTED_VERSION="v2.0.0
14 - GIT_LATEST_SOURCE_BRANCH="master"
20 - env: git-latest-master-from-source
24 git clone $GIT_SOURCE_REPO git-source;
26 git checkout $GIT_LATEST_SOURCE_BRANCH;
30 - env: git-earliest-supported-version-from-source
34 git clone $GIT_SOURCE_REPO git-source;
36 git checkout $GIT_EARLIEST_SUPPORTED_VERSION;
52 localDir=`dirname $PWD`;
53 cfDir="`dirname $localDir`/git-lfs";
54 if [[ "$localDir" != "$cfDir" ]];
56 mv "$localDir" "$cfDir";
57 cd ../../git-lfs/$repo;
58 export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$repo;
63 script: script/cibuild