git-lfs/circle.yml

84 lines
2.3 KiB
YAML
Raw Normal View History

version: 2
2016-11-15 19:35:04 +00:00
jobs:
bootstrap:
macos:
xcode: "9.2.0"
working_directory: /go/src/github.com/git-lfs/git-lfs
steps:
- checkout
- run: brew update
- run: brew prune
- run: brew upgrade go || brew install go
- run: brew upgrade git || brew install git
- run: brew upgrade gettext || brew install gettext
- run: brew link --force gettext
- run: git clone https://github.com/git/git.git git-source
- run: script/bootstrap
- run: go get -d -v github.com/spf13/cobra
- run: go get -d -v github.com/ThomsonReutersEikon/go-ntlm/ntlm
2016-11-15 18:06:25 +00:00
build_with_system_git:
macos:
xcode: "9.2.0"
working_directory: /go/src/github.com/git-lfs/git-lfs
environment:
GIT_LFS_TEST_DIR: $HOME/git-lfs-tests
GIT_SOURCE_REPO: https://github.com/git/git.git
steps:
- run:
command: script/integration
environment:
PATH: "$HOME/bin:$PATH"
2016-11-15 19:41:33 +00:00
build_with_earliest_supported_git:
macos:
xcode: "9.2.0"
working_directory: /go/src/github.com/git-lfs/git-lfs
environment:
GIT_EARLIEST_SUPPORTED_VERSION: v2.0.0
GIT_LFS_TEST_DIR: $HOME/git-lfs-tests
GIT_SOURCE_REPO: https://github.com/git/git.git
steps:
- run:
command: script/install-git-source "$GIT_EARLIEST_SUPPORTED_VERSION"
environment:
NO_OPENSSL: YesPlease
APPLE_COMMON_CRYPTO: YesPlease
- run:
command: script/integration
environment:
PATH: "$HOME/bin:$PATH"
2016-11-15 18:06:25 +00:00
build_with_latest_git:
macos:
xcode: "9.2.0"
working_directory: /go/src/github.com/git-lfs/git-lfs
environment:
GIT_LATEST_SOURCE_BRANCH: master
GIT_LFS_TEST_DIR: $HOME/git-lfs-tests
GIT_SOURCE_REPO: https://github.com/git/git.git
steps:
- run:
command: script/install-git-source "$GIT_LATEST_SOURCE_BRANCH"
environment:
NO_OPENSSL: YesPlease
APPLE_COMMON_CRYPTO: YesPlease
- run:
command: script/integration
environment:
PATH: "$HOME/bin:$PATH"
2016-11-15 19:52:39 +00:00
workflows:
version: 2
build:
- build_with_earliest_supported_git:
requires:
- bootstrap
- build_with_latest_git:
requires:
- bootstrap
- build_with_system_git:
requires:
- bootstrap