message: Try to install boost & opencv on macos with brew
diff: @@ -17,15 +17,17 @@ matrix:
  osx_image: xcode9.2
  install:
  - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pyenv global system 3.6; fi # Workaround for travis-ci/issues/8363
  - - sudo apt-get update -q
  - - sudo apt-get install libboost-all-dev libopencv-dev -y
  - |
  if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
  wget https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.tar.gz
  tar -xvzf cmake-3.8.2-Linux-x86_64.tar.gz
  + pyenv global system 3.6 # Workaround for travis-ci/issues/8363
  + sudo apt-get update -q
  + sudo apt-get install libboost-all-dev libopencv-dev -y
  else
  brew install cmake || brew upgrade cmake
  + brew install boost
  + brew install opencv
  fi
  before_script:
  