2015-03-24 19:26:31 +00:00
|
|
|
# http://docs.travis-ci.com/user/languages/go/
|
|
|
|
language: go
|
2016-02-09 21:39:07 +00:00
|
|
|
|
2016-10-10 19:31:28 +00:00
|
|
|
go: 1.7.1
|
2016-02-09 21:39:07 +00:00
|
|
|
|
2016-01-14 17:30:56 +00:00
|
|
|
os:
|
|
|
|
- linux
|
2016-02-09 21:39:07 +00:00
|
|
|
|
2016-02-11 08:55:03 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GIT_LFS_TEST_DIR="$HOME/git-lfs-tests"
|
2016-07-11 14:51:18 +00:00
|
|
|
- GIT_SOURCE_REPO="https://github.com/git/git.git"
|
2016-11-08 10:58:46 +00:00
|
|
|
- GIT_EARLIEST_SUPPORTED_VERSION="v1.8.5"
|
|
|
|
- GIT_LATEST_SOURCE_BRANCH="master"
|
2016-02-11 08:55:03 +00:00
|
|
|
|
2016-02-09 21:39:07 +00:00
|
|
|
matrix:
|
2016-04-11 17:00:37 +00:00
|
|
|
fast_finish: true
|
2016-02-09 21:39:07 +00:00
|
|
|
include:
|
2016-11-08 10:58:46 +00:00
|
|
|
- env: git-latest-master-from-source
|
2016-07-11 14:51:18 +00:00
|
|
|
os: linux
|
|
|
|
before_script:
|
|
|
|
- >
|
|
|
|
git clone $GIT_SOURCE_REPO git-source;
|
|
|
|
cd git-source;
|
2016-11-08 10:58:46 +00:00
|
|
|
git checkout $GIT_LATEST_SOURCE_BRANCH;
|
2016-10-24 06:13:49 +00:00
|
|
|
make --jobs=2;
|
|
|
|
make install;
|
|
|
|
cd ..;
|
2016-11-08 10:58:46 +00:00
|
|
|
- env: git-earliest-supported-version-from-source
|
|
|
|
os: linux
|
|
|
|
before_script:
|
|
|
|
- >
|
|
|
|
git clone $GIT_SOURCE_REPO git-source;
|
|
|
|
cd git-source;
|
|
|
|
git checkout $GIT_EARLIEST_SUPPORTED_VERSION;
|
|
|
|
make --jobs=2;
|
|
|
|
make install;
|
|
|
|
cd ..;
|
2016-02-09 21:39:07 +00:00
|
|
|
- env: git-latest
|
|
|
|
os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- git-core
|
|
|
|
packages:
|
|
|
|
- git
|
|
|
|
|
2015-06-15 13:59:39 +00:00
|
|
|
before_install:
|
2016-02-11 08:54:12 +00:00
|
|
|
- >
|
|
|
|
repo=`basename $PWD`;
|
|
|
|
localDir=`dirname $PWD`;
|
2016-11-15 17:31:31 +00:00
|
|
|
cfDir="`dirname $localDir`/git-lfs";
|
2016-02-11 08:54:12 +00:00
|
|
|
if [[ "$localDir" != "$cfDir" ]];
|
|
|
|
then
|
|
|
|
mv "$localDir" "$cfDir";
|
2016-11-15 17:31:31 +00:00
|
|
|
cd ../../git-lfs/$repo;
|
2016-02-11 08:54:12 +00:00
|
|
|
export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$repo;
|
|
|
|
fi;
|
2016-02-09 21:39:07 +00:00
|
|
|
|
|
|
|
install: true
|
|
|
|
|
|
|
|
script: script/cibuild
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|