travis-ci: use gcc-5 (fixes osx|gcc failures)

Refs: travis-ci/travis-ci#4587
This commit is contained in:
Azat Khuzhin 2016-10-16 21:48:59 +03:00
parent 3e9e0a0d46
commit d7ceae593a

View File

@ -26,8 +26,9 @@ before_install:
brew update;
brew uninstall libtool && brew install libtool;
brew install openssl;
sudo ln -sf $(ls -t /usr/local/bin/gcc-* | head -1) /usr/bin/gcc;
sudo ln -sf $(ls -t /usr/local/bin/g++-* | head -1) /usr/bin/g++;
if [ "$CC" == "gcc" ]; then
export CC=$(ls -t /usr/local/bin/gcc-?.?);
fi
fi
addons:
apt: