New travis configuration

This commit is contained in:
Michaël Lemaire 2015-12-10 20:13:53 +01:00
parent e286b194e5
commit bc9db69564

View file

@ -2,14 +2,13 @@ language: cpp
before_script:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository ppa:beineri/opt-qt542 -y
- sudo apt-get update -qq
- sudo apt-get install g++-4.9
- sudo apt-get install g++-4.9 qt54base qt54quickcontrols qt54tools
- 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.9 50
- wget -O Qt5.2.0.tar.xz http://thunderk.net/public/Qt5.2.0.tar.xz
- mkdir ~/Qt5.2.0
- tar -xJf Qt5.2.0.tar.xz -C ~/Qt5.2.0
- sudo chmod -R 777 ~/Qt5.2.0/
- make BUILDMODE=debug QTSDK=~/Qt5.2.0/5.2.0/gcc_64
- source /opt/qt54/bin/qt54-env.sh && make BUILDMODE=debug
script:
- source /opt/qt54/bin/qt54-env.sh && make BUILDMODE=debug tests
script: make BUILDMODE=debug QTSDK=~/Qt5.2.0/5.2.0/gcc_64 tests