travis-ci: ask homebrew for its path instead of hardcoding it
authorLars Schneider <larsxschneider@gmail.com>
Wed, 21 Sep 2016 08:45:18 +0000 (10:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Sep 2016 17:23:01 +0000 (10:23 -0700)
commitf86f49bee9ba76a4fc3811748c1b4b1559c6fd4b
treeb3d23ad4810fc97717efdc4746ada731f77b5cbc
parent522354d70f4fab744f25bc3d641b478584bbfc3b
travis-ci: ask homebrew for its path instead of hardcoding it

The TravisCI macOS build is broken because homebrew (a macOS dependency
manager) changed its internal directory structure [1]. This is a problem
because we modify the Perforce dependencies in the homebrew repository
before installing them.

Fix it by asking homebrew for its path instead of hardcoding it.

[1] https://github.com/Homebrew/brew/commit/0a09ae30f8b6117ad699b4a0439010738989c547

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.travis.yml