From dfa59cfd0c184e5b688c1ab7bf43a1c7b2b1232c Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Tue, 16 Jun 2020 13:08:33 +0300 Subject: [PATCH] Trying alternative installation method for brew --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 70e94f53a..247986cc4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,10 +34,10 @@ install: - npm --version # linuxbrew (for hugo) -- test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv) -- test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) -- test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile -- echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile +- git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew +- mkdir ~/.linuxbrew/bin +- ln -s ~/.linuxbrew/Homebrew/bin/brew ~/.linuxbrew/bin +- eval $(~/.linuxbrew/bin/brew shellenv) # hugo (for documentation) - brew install hugo