Skip to content

Commit 8d4a435

Browse files
committed
gxx version fix
1 parent a29a90c commit 8d4a435

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@ before_install:
33
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
44
- sudo apt-get update -qq
55
- sudo apt-get install -qq qt5-qmake qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev libx11-dev libxtst-dev
6+
- sudo update-alternatives --remove-all gcc
7+
- sudo update-alternatives --remove-all g++
68
- sudo apt-get install gcc-4.8
7-
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
9+
- sudo apt-get install g++-4.8
10+
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20
11+
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20
12+
- sudo update-alternatives --config gcc
13+
- sudo update-alternatives --config g++
14+
- sudo apt-get update
15+
- sudo apt-get upgrade -y
16+
- sudo apt-get dist-upgrade
817
script:
918
- g++ --version
1019
- gcc --version

0 commit comments

Comments
 (0)