2016-11-15 18:06:25 +00:00
|
|
|
machine:
|
|
|
|
environment:
|
|
|
|
GIT_LFS_TEST_DIR: $HOME/git-lfs-tests
|
|
|
|
GIT_SOURCE_REPO: https://github.com/git/git.git
|
|
|
|
GIT_EARLIEST_SUPPORTED_VERSION: v1.8.5
|
|
|
|
GIT_LATEST_SOURCE_BRANCH: master
|
2016-11-15 18:17:13 +00:00
|
|
|
XCODE_SCHEME: test
|
2016-11-15 18:24:43 +00:00
|
|
|
XCODE_WORKSPACE: test
|
|
|
|
XCODE_PROJECT: test
|
2016-11-15 19:48:55 +00:00
|
|
|
GOPATH: $HOME/git-lfs/.go
|
2016-11-15 20:10:46 +00:00
|
|
|
NO_OPENSSL: YesPlease
|
|
|
|
APPLE_COMMON_CRYPTO: YesPlease
|
2016-11-15 19:35:04 +00:00
|
|
|
|
|
|
|
general:
|
2016-11-15 19:45:12 +00:00
|
|
|
build_dir: .go/src/github.com/git-lfs/git-lfs
|
2016-11-15 18:06:25 +00:00
|
|
|
|
2016-11-15 19:41:33 +00:00
|
|
|
checkout:
|
|
|
|
post:
|
2016-11-15 19:47:35 +00:00
|
|
|
- mkdir -p ~/git-lfs/.go/src/github.com/git-lfs
|
|
|
|
- ln -s ~/git-lfs ~/git-lfs/.go/src/github.com/git-lfs
|
2016-11-15 19:41:33 +00:00
|
|
|
|
2016-11-15 18:06:25 +00:00
|
|
|
dependencies:
|
|
|
|
pre:
|
|
|
|
- brew update
|
|
|
|
- brew prune
|
2016-11-15 18:21:48 +00:00
|
|
|
- brew upgrade go || brew install go
|
|
|
|
- brew upgrade git || brew install git
|
2016-11-15 19:56:34 +00:00
|
|
|
- brew upgrade gettext || brew install gettext
|
2016-11-15 20:05:36 +00:00
|
|
|
- brew link --force gettext
|
2016-11-15 19:56:34 +00:00
|
|
|
- git clone $GIT_SOURCE_REPO git-source
|
2016-11-15 18:06:25 +00:00
|
|
|
override:
|
2016-11-15 19:37:22 +00:00
|
|
|
- script/bootstrap
|
2016-11-15 18:06:25 +00:00
|
|
|
|
2016-11-15 19:52:39 +00:00
|
|
|
# needed for git-lfs-test-server-api
|
2016-11-15 20:02:14 +00:00
|
|
|
- go get -d -v github.com/spf13/cobra
|
2017-01-06 22:19:10 +00:00
|
|
|
- go get -d -v github.com/ThomsonReutersEikon/go-ntlm/ntlm
|
2016-11-15 19:52:39 +00:00
|
|
|
|
2016-11-15 18:06:25 +00:00
|
|
|
test:
|
|
|
|
override:
|
|
|
|
- script/cibuild
|
2016-11-15 19:59:09 +00:00
|
|
|
- script/install-git-source "$GIT_EARLIEST_SUPPORTED_VERSION"
|
2016-11-15 20:35:46 +00:00
|
|
|
- PATH="$HOME/bin:$PATH" SKIPCOMPILE=1 script/integration
|
2016-11-15 19:59:09 +00:00
|
|
|
- script/install-git-source "$GIT_LATEST_SOURCE_BRANCH"
|
2016-11-15 20:35:46 +00:00
|
|
|
- PATH="$HOME/bin:$PATH" SKIPCOMPILE=1 script/integration
|