message: Fix clang build on travis by installing g++-7 too
diff: @@ -10,14 +10,14 @@ matrix:
  addons: { apt: { packages: ["g++-7"], sources: ["ubuntu-toolchain-r-test"] } }
  - env: C_COMPILER=clang-5.0 CXX_COMPILER=clang++-5.0
  - addons: { apt: { packages: ["clang-5.0"], sources: ["llvm-toolchain-trusty-5.0", "ubuntu-toolchain-r-test"] } }
  + addons: { apt: { packages: ["g++-7", "clang-5.0"], sources: ["llvm-toolchain-trusty-5.0", "ubuntu-toolchain-r-test"] } }
  + # g++-7 is needed here - otherwise the build will fail because g++-4.8 libstdc++ is used.
  - os: osx
  env: C_COMPILER=clang CXX_COMPILER=clang++
  osx_image: xcode9.2
  install:
  - # numpy issue: https://github.com/travis-ci/travis-ci/issues/6688
  - |
  if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
  wget https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.tar.gz
  @@ -28,7 +28,7 @@ install:
  else
  brew install cmake || brew upgrade cmake
  brew install boost
  - /usr/bin/yes | pip2 uninstall numpy
  + /usr/bin/yes | pip2 uninstall numpy # see: https://github.com/travis-ci/travis-ci/issues/6688
  brew install opencv
  fi
  @@ -43,5 +43,4 @@ before_script:
  fi
  script:
  -# - make VERBOSE=1
  - cmake --build . --config Release
  