Re: [PATCH 2/9] ci/lib.sh: encapsulate Travis-specific things
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 4, 2018, 11:04 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1809041259480.71@tvgsbejvaqbjf.bet>
- In-Reply-To
- <CAPig+cTYwnEt3_EoMZq7U265nEDRJc5uCtJbuVeBNTxqvWSPww@mail.gmail.com>
Hi Eric,
On Mon, 3 Sep 2018, Eric Sunshine wrote:
Show 20 quoted lines
> On Mon, Sep 3, 2018 at 5:10 PM Johannes Schindelin via GitGitGadget > <gitgitgadget@gmail.com> wrote: > > The upcoming patches will allow building git.git via VSTS CI, where > > variable names and URLs look a bit different than in Travis CI. > > > > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> > > --- > > diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh > > @@ -28,7 +28,8 @@ osx-clang|osx-gcc) > > # Uncomment this if you want to run perf tests: > > # brew install gnu-time > > - brew install git-lfs gettext > > + test -z "$BREW_INSTALL_PACKAGES" || > > + eval brew install $BREW_INSTALL_PACKAGES > > This 'eval' is unnecessary, isn't it? > > brew install $BREW_INSTALL_PACKAGES > > should give the same result.
Oh right! Fixed in https://github.com/gitgitgadget/git/pull/31 (and I also opened https://github.com/git/git/pull/531 to verify that Travis CI still works).
Thanks, Dscho
Show 6 quoted lines
> > brew link --force gettext > > brew install caskroom/cask/perforce > > diff --git a/ci/lib.sh b/ci/lib.sh > > @@ -1,5 +1,26 @@ > > + BREW_INSTALL_PACKAGES="git-lfs gettext" >