Travis runs 12.04 (old!), and there are only PPA packages for Qt 5.0.2, which contains a bug [1] (which has since been fixed in [2]) that fails the build when using clang. We have to either * wait until Travis CI moves to 14.04 [3], or * someone provides more recent Qt packages for 12.04 (unlikely). Anyway, the two builds on Travis should now pass. [1] https://bugreports.qt.io/browse/QTBUG-32100 [2] https://codereview.qt-project.org/#/c/60150/
22 lines
407 B
YAML
22 lines
407 B
YAML
language: cpp
|
|
|
|
compiler:
|
|
- gcc
|
|
|
|
env:
|
|
- QT4_BUILD=ON
|
|
- QT4_BUILD=OFF
|
|
|
|
before_install:
|
|
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
|
|
- sudo add-apt-repository --yes ppa:kalakris/cmake
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq cmake libqtcore4 qt4-qmake libqt5core5 qt5-qmake qt5-default qtchooser libmsgpack-dev
|
|
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- cmake ..
|
|
- make
|
|
- make test
|