Skip to content
Permalink
Browse files

Download git-lfs directly on OSX

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 14, 2019
1 parent 6f7c8c3 commit b66b29de7ddb5eeaa54261b43244369fece310cb
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
@@ -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

0 comments on commit b66b29d

Please sign in to comment.
You can’t perform that action at this time.