Skip to content

Commit ea39c86

Browse files
committed
added gcc 4.8 support
1 parent eb5c72f commit ea39c86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
before_install:
22
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
3+
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
34
- sudo apt-get update -qq
45
- sudo apt-get install -qq qt5-qmake qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev libx11-dev libxtst-dev
6+
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
7+
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
58
script:
69
- qmake -qt=qt5 -v
710
- qmake -qt=qt5 XInputSimulator/

0 commit comments

Comments
 (0)