katie/.travis.yml
Ivailo Monev aa5f508002 make it possible and do skip network related tests in the Travis environment
some tests use QVERIFY() inside QBENCHMARK() which hangs the test
when QVERIFY() fails (this applies to stock Qt4 and with Qt5 as
well)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-07-06 22:13:54 +00:00

19 lines
763 B
YAML

sudo: required
dist: trusty
language: cpp
compiler:
- clang
# - gcc
git:
depth: 3
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-dev libssl-dev zlib1g-dev libc6-dev libpng12-dev libjpeg-dev libtiff5-dev libmng-dev libcups2-dev libasound2-dev libfreetype6-dev libfontconfig1-dev libicu-dev libglib2.0-dev libdbus-1-dev libgtk2.0-dev libgl1-mesa-dev libwayland-dev unixodbc-dev libpq-dev libmysqld-dev libaio-dev libsqlite3-dev xorg-dev
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
- cmake -DENABLE_TESTING=TRUE -Wno-dev -DMYSQL_LIBRARIES:STRING="-lmysqld -lcrypt -laio" -DSKIP_NETWORK_TESTS=TRUE
- make
- make test