Update .travis.yml

This commit is contained in:
Dima Pasechnik 2018-02-07 23:43:03 +00:00 committed by GitHub
parent 57ea50cdd2
commit 67e6c2fb68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ script:
# On OSX, gcc is a wrapper around clang, so use gcc from homebrew
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]] && [[ "${CC}" == "gcc" ]]; then
brew install gcc;
brew link --overwrite gcc
brew link --overwrite gcc;
export CC=gcc;
export CXX=g++;
fi