katie/.travis.yml

25 lines
1,013 B
YAML
Raw Normal View History

sudo: required
2019-05-13 01:58:22 +00:00
dist: xenial
language: cpp
compiler:
- clang
- gcc
os:
- linux
cache: ccache
git:
depth: 3
services:
- xvfb
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq ninja-build python-dev libpcre3-dev libssl-dev zlib1g-dev libc6-dev libpng-dev libjpeg-dev libtiff-dev libmng-dev libcups2-dev libfreetype6-dev libfontconfig1-dev libicu-dev libglib2.0-dev libdbus-1-dev unixodbc-dev libpq-dev libpqtypes-dev libmysqld-dev libaio-dev libwrap0-dev liblz4-dev libsqlite3-dev xorg-dev
script:
- mkdir build && cd build
- if [ "$CXX" == "clang++" ];then cmake ../ -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTING=TRUE -DKATIE_UTILS=ON -Wno-dev ;fi
- if [ "$CXX" == "g++" ];then cmake ../ -GNinja -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTING=TRUE -DKATIE_UTILS=ON -DKATIE_ALLINONE=ON -Wno-dev ;fi
- ninja
# the tests/benchmarks take more then 1-hour and Travis times out,
# also the tests output is not verbose and trigger Travis hang
# protection