github.com/psexton/git-lfs@v2.1.1-0.20170517224304-289a18b2bc53+incompatible/.travis.yml (about) 1 # http://docs.travis-ci.com/user/languages/go/ 2 language: go 3 4 go: 1.8.1 5 6 os: 7 - linux 8 9 env: 10 global: 11 - GIT_LFS_TEST_DIR="$HOME/git-lfs-tests" 12 - GIT_SOURCE_REPO="https://github.com/git/git.git" 13 - GIT_EARLIEST_SUPPORTED_VERSION="v1.8.5" 14 - GIT_LATEST_SOURCE_BRANCH="master" 15 16 matrix: 17 fast_finish: true 18 include: 19 - env: git-latest-master-from-source 20 os: linux 21 before_script: 22 - > 23 git clone $GIT_SOURCE_REPO git-source; 24 cd git-source; 25 git checkout $GIT_LATEST_SOURCE_BRANCH; 26 make --jobs=2; 27 make install; 28 cd ..; 29 - env: git-earliest-supported-version-from-source 30 os: linux 31 before_script: 32 - > 33 git clone $GIT_SOURCE_REPO git-source; 34 cd git-source; 35 git checkout $GIT_EARLIEST_SUPPORTED_VERSION; 36 make --jobs=2; 37 make install; 38 cd ..; 39 - env: git-latest 40 os: linux 41 addons: 42 apt: 43 sources: 44 - git-core 45 packages: 46 - git 47 48 before_install: 49 - > 50 repo=`basename $PWD`; 51 localDir=`dirname $PWD`; 52 cfDir="`dirname $localDir`/git-lfs"; 53 if [[ "$localDir" != "$cfDir" ]]; 54 then 55 mv "$localDir" "$cfDir"; 56 cd ../../git-lfs/$repo; 57 export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$repo; 58 fi; 59 60 install: true 61 62 script: script/cibuild 63 64 notifications: 65 email: false