message: use travis homebrew addon for reliability
diff: @@ -25,12 +25,16 @@ cache:
  directories:
  $HOME/deps-rel
  $HOME/deps-dbg
  +addons:
  + homebrew:
  + update: true
  + brewfile: true
  before_install:
  - $CC -v
  - if [ $TRAVIS_OS_NAME = 'linux' ]; then export INSTPRF=$HOME/p; mkdir -p $INSTPRF; fi
  - if [ $TRAVIS_OS_NAME = 'linux' ]; then export OPENCV_VER=3.0.0; fi
  - "if [ $TRAVIS_OS_NAME = 'osx' ]; then brew uninstall --ignore-dependencies json-c; fi"
  - - "if [ $TRAVIS_OS_NAME = 'osx' ]; then brew update && brew bundle && brew install --HEAD libfunctionality; fi"
  + - "if [ $TRAVIS_OS_NAME = 'osx' ]; then brew install --HEAD libfunctionality; fi"
  - "if [ $TRAVIS_OS_NAME = 'linux' ]; then
  if [ $CONFIG = 'Release' ]; then
  export DEPSDIR=$HOME/deps-rel;
  