Travis: Specify GCC version on macOS explicitly
Before this update the GCC build job on macOS would fail since
`brew install gcc` now installs GCC 8 instead of GCC 7.
@@ -86,8 +86,8 @@ before_install:
rvm use 2.3.1
gem install test-unit --no-document
if [[ "$CC" == "gcc" ]]; then
- brew install gcc
- brew link --overwrite gcc
+ brew install gcc@7
+ brew link --overwrite gcc@7
export CC=gcc-7
export CXX=g++-7
else
