New travis configuration
This commit is contained in:
parent
e286b194e5
commit
bc9db69564
1 changed files with 10 additions and 11 deletions
21
.travis.yml
21
.travis.yml
|
@ -1,15 +1,14 @@
|
||||||
language: cpp
|
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 add-apt-repository ppa:beineri/opt-qt542 -y
|
||||||
- sudo apt-get install g++-4.9
|
- sudo apt-get update -qq
|
||||||
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 50
|
- sudo apt-get install g++-4.9 qt54base qt54quickcontrols qt54tools
|
||||||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 50
|
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 50
|
||||||
- wget -O Qt5.2.0.tar.xz http://thunderk.net/public/Qt5.2.0.tar.xz
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 50
|
||||||
- mkdir ~/Qt5.2.0
|
- source /opt/qt54/bin/qt54-env.sh && make BUILDMODE=debug
|
||||||
- tar -xJf Qt5.2.0.tar.xz -C ~/Qt5.2.0
|
|
||||||
- sudo chmod -R 777 ~/Qt5.2.0/
|
script:
|
||||||
- make BUILDMODE=debug QTSDK=~/Qt5.2.0/5.2.0/gcc_64
|
- 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
|
|
||||||
|
|
Loading…
Reference in a new issue