File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,17 @@ before_install:
3
3
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
4
4
- sudo apt-get update -qq
5
5
- 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++
6
8
- 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
8
17
script :
9
18
- g++ --version
10
19
- gcc --version
You can’t perform that action at this time.
0 commit comments