Updating travis toolchain to g++ 4.9 (for c++-14 standard)

This commit is contained in:
Michaël Lemaire 2015-12-10 19:54:52 +01:00
parent 2d6c0f34c3
commit e286b194e5

View file

@ -3,9 +3,9 @@ language: cpp
before_script: before_script:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install g++-4.8 - sudo apt-get install g++-4.9
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50 - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 50
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 50
- wget -O Qt5.2.0.tar.xz http://thunderk.net/public/Qt5.2.0.tar.xz - wget -O Qt5.2.0.tar.xz http://thunderk.net/public/Qt5.2.0.tar.xz
- mkdir ~/Qt5.2.0 - mkdir ~/Qt5.2.0
- tar -xJf Qt5.2.0.tar.xz -C ~/Qt5.2.0 - tar -xJf Qt5.2.0.tar.xz -C ~/Qt5.2.0