Install gcc-4.8 on travis-ci osx

Newer osx image do not have gcc48 pre-installed on travis-ci
This commit is contained in:
Isuru Fernando 2016-11-11 10:57:11 +05:30 committed by GitHub
parent 776acc62ab
commit 7f8dc22669

View file

@ -15,6 +15,7 @@ compiler:
script:
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]] && [[ "${CC}" == "gcc" ]]; then
brew install gcc48;
export CC=gcc-4.8;
export CXX=g++-4.8;
fi