Files
qmsgpack/.travis.yml
T
Elvis Stansvik 413e3c7436 Disable clang build on Travis for now.
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/
2015-04-11 18:03:18 +02:00

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