Travis: try to upgrade to g++ 4.8

This commit is contained in:
Andrew Tridgell 2015-03-13 10:51:31 +11:00
parent 8fee936ad7
commit de2c22b4b9
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,12 @@ ARDUPILOT_TOOLS="ardupilot/Tools/autotest"
APT_GET="sudo apt-get -qq --assume-yes"
# try to upgrade to g++ 4.8. See https://github.com/travis-ci/travis-ci/issues/1379
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get -qq update
sudo apt-get -qq install g++-4.8
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
$APT_GET update
$APT_GET install $BASE_PKGS $SITL_PKGS $PX4_PKGS $UBUNTU64_PKGS $AVR_PKGS
pip install --upgrade pip || {