github.com/2lambda123/git-lfs@v2.5.2+incompatible/.travis.yml (about)

     1  # http://docs.travis-ci.com/user/languages/go/
     2  language: go
     3  
     4  go: 1.10.3
     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="v2.0.0
    14      - GIT_LATEST_SOURCE_BRANCH="master"
    15      - GIT_ASKPASS=""
    16  
    17  matrix:
    18    fast_finish: true
    19    include:
    20      - env: git-latest-master-from-source
    21        os: linux
    22        before_script:
    23          - >
    24            git clone $GIT_SOURCE_REPO git-source;
    25            cd git-source;
    26            git checkout $GIT_LATEST_SOURCE_BRANCH;
    27            make --jobs=2;
    28            make install;
    29            cd ..;
    30      - env: git-earliest-supported-version-from-source
    31        os: linux
    32        before_script:
    33          - >
    34            git clone $GIT_SOURCE_REPO git-source;
    35            cd git-source;
    36            git checkout $GIT_EARLIEST_SUPPORTED_VERSION;
    37            make --jobs=2;
    38            make install;
    39            cd ..;
    40      - env: git-latest
    41        os: linux
    42        addons:
    43          apt:
    44            sources:
    45            - git-core
    46            packages:
    47            - git
    48  
    49  before_install:
    50    - >
    51      repo=`basename $PWD`;
    52      localDir=`dirname $PWD`;
    53      cfDir="`dirname $localDir`/git-lfs";
    54      if [[ "$localDir" != "$cfDir" ]];
    55      then
    56        mv "$localDir" "$cfDir";
    57        cd ../../git-lfs/$repo;
    58        export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$repo;
    59      fi;
    60  
    61  install: true
    62  
    63  script: script/cibuild
    64  
    65  notifications:
    66    email: false