2016-07-05 14:40:05 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2016-06-30 00:38:41 +00:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- clang
|
2016-09-11 04:06:14 +00:00
|
|
|
- gcc
|
2016-07-25 09:34:46 +00:00
|
|
|
os:
|
2016-07-26 12:19:23 +00:00
|
|
|
- linux
|
2016-07-12 12:52:11 +00:00
|
|
|
cache: ccache
|
2016-06-30 00:38:41 +00:00
|
|
|
git:
|
|
|
|
depth: 3
|
2016-07-05 14:40:05 +00:00
|
|
|
before_install:
|
2016-09-11 03:39:07 +00:00
|
|
|
- sudo apt-get update -qq
|
2017-08-04 08:21:36 +00:00
|
|
|
- sudo apt-get install -qq bsdtar python-dev libpcre3-dev libssl-dev zlib1g-dev libc6-dev libpng12-dev libjpeg-dev libtiff5-dev libmng-dev libcups2-dev libfreetype6-dev libfontconfig1-dev libicu-dev libglib2.0-dev libdbus-1-dev unixodbc-dev libpq-dev libmysqld-dev libaio-dev libwrap0-dev libsqlite3-dev xorg-dev
|
2019-05-07 23:11:04 +00:00
|
|
|
- wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip
|
2016-10-11 23:50:53 +00:00
|
|
|
- bsdtar xf ninja-linux.zip
|
2016-06-30 16:00:25 +00:00
|
|
|
before_script:
|
2016-10-11 23:45:49 +00:00
|
|
|
- export PATH="$(pwd):${PATH}"
|
2016-09-11 03:39:07 +00:00
|
|
|
- export DISPLAY=:99.0
|
|
|
|
- sh -e /etc/init.d/xvfb start
|
|
|
|
- sleep 3
|
2016-06-30 00:38:41 +00:00
|
|
|
script:
|
2016-11-11 20:46:09 +00:00
|
|
|
- mkdir build && cd build
|
2019-05-07 19:07:50 +00:00
|
|
|
- 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
|
2016-10-08 00:06:15 +00:00
|
|
|
- ninja
|
|
|
|
# the tests/benchmarks take more then 1-hour and Travis times out,
|
|
|
|
# despite the documentaiton for the service claiming otherwise
|