github.com/2lambda123/git-lfs@v2.5.2+incompatible/.circleci/config.yml (about) 1 version: 2 2 3 jobs: 4 bootstrap: 5 macos: 6 xcode: "9.2.0" 7 working_directory: ~/go/src/github.com/git-lfs/git-lfs 8 steps: 9 - checkout 10 - run: brew update 11 - run: brew prune 12 - run: brew upgrade go || brew install go 13 - run: brew upgrade git || brew install git 14 - run: brew upgrade gettext || brew install gettext 15 - run: 16 command: git clone https://github.com/git/git.git git-source 17 working_directory: ~/go/src/github.com/git-lfs/git-lfs 18 - run: echo "export GOPATH=$HOME/go" >> $BASH_ENV 19 - run: go get -d -v github.com/spf13/cobra 20 - run: go get -d -v github.com/ThomsonReutersEikon/go-ntlm/ntlm 21 - save_cache: 22 key: git-lfs-{{ .Branch }}-{{ .Revision }} 23 paths: 24 - /usr/local/Cellar 25 - ~/go 26 27 build_with_system_git: 28 macos: 29 xcode: "9.2.0" 30 working_directory: ~/go/src/github.com/git-lfs/git-lfs 31 environment: 32 GIT_SOURCE_REPO: https://github.com/git/git.git 33 steps: 34 - restore_cache: 35 key: git-lfs-{{ .Branch }}-{{ .Revision }} 36 - run: echo go gettext | xargs brew link --force 37 - run: echo "export GOPATH=$HOME/go" >> $BASH_ENV 38 - run: echo "export PATH=$HOME/bin:$GOPATH/bin:$PATH" >> $BASH_ENV 39 - run: echo "export GIT_LFS_TEST_DIR=$HOME/git-lfs-tests" >> $BASH_ENV 40 - run: script/cibuild 41 42 build_with_earliest_supported_git: 43 macos: 44 xcode: "9.2.0" 45 working_directory: ~/go/src/github.com/git-lfs/git-lfs 46 environment: 47 GIT_EARLIEST_SUPPORTED_VERSION: v2.0.0 48 GIT_SOURCE_REPO: https://github.com/git/git.git 49 steps: 50 - restore_cache: 51 key: git-lfs-{{ .Branch }}-{{ .Revision }} 52 - run: echo go gettext | xargs brew link --force 53 - run: 54 command: ./script/install-git-source "$GIT_EARLIEST_SUPPORTED_VERSION" 55 environment: 56 NO_OPENSSL: YesPlease 57 APPLE_COMMON_CRYPTO: YesPlease 58 - run: echo "export GOPATH=$HOME/go" >> $BASH_ENV 59 - run: echo "export PATH=$HOME/bin:$GOPATH/bin:$PATH" >> $BASH_ENV 60 - run: echo "export GIT_LFS_TEST_DIR=$HOME/git-lfs-tests" >> $BASH_ENV 61 - run: script/cibuild 62 63 build_with_latest_git: 64 macos: 65 xcode: "9.2.0" 66 working_directory: ~/go/src/github.com/git-lfs/git-lfs 67 environment: 68 GIT_LATEST_SOURCE_BRANCH: master 69 GIT_SOURCE_REPO: https://github.com/git/git.git 70 steps: 71 - restore_cache: 72 key: git-lfs-{{ .Branch }}-{{ .Revision }} 73 - run: echo go gettext | xargs brew link --force 74 - run: 75 command: ./script/install-git-source "$GIT_LATEST_SOURCE_BRANCH" 76 environment: 77 NO_OPENSSL: YesPlease 78 APPLE_COMMON_CRYPTO: YesPlease 79 - run: echo "export GOPATH=$HOME/go" >> $BASH_ENV 80 - run: echo "export PATH=$HOME/bin:$GOPATH/bin:$PATH" >> $BASH_ENV 81 - run: echo "export GIT_LFS_TEST_DIR=$HOME/git-lfs-tests" >> $BASH_ENV 82 - run: script/cibuild 83 84 workflows: 85 version: 2 86 build: 87 jobs: 88 - bootstrap 89 - build_with_earliest_supported_git: 90 requires: 91 - bootstrap 92 - build_with_latest_git: 93 requires: 94 - bootstrap 95 - build_with_system_git: 96 requires: 97 - bootstrap