Skip to content

Commit

Permalink
Download git-lfs directly on OSX
Browse files Browse the repository at this point in the history
brew install git-lfs takes forever (5m), so we just `curl | tar`
instead, with is a couple orders of magnitude faster (0.8s).
  • Loading branch information
DirectXMan12 committed May 15, 2019
1 parent 6f7c8c3 commit b66b29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -20,7 +20,7 @@ go_import_path: sigs.k8s.io/kubebuilder

before_install:
- go get -u github.com/golang/dep/cmd/dep
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install git-lfs ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -sL https://github.com/git-lfs/git-lfs/releases/download/v2.7.2/git-lfs-darwin-amd64-v2.7.2.tar.gz | tar -xz git-lfs; fi

before_script:
- git lfs install
Expand Down

0 comments on commit b66b29d

Please sign in to comment.