2016-03-20 12:24:59 -04:00
|
|
|
sudo: required
|
2015-12-01 17:31:18 -05:00
|
|
|
dist: trusty
|
2014-08-28 15:29:06 -04:00
|
|
|
language: c
|
2015-07-16 15:39:40 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
2016-03-20 12:24:59 -04:00
|
|
|
packages:
|
|
|
|
- autoconf
|
|
|
|
- automake
|
|
|
|
- make
|
|
|
|
- libx11-dev
|
|
|
|
- libpango1.0-dev
|
|
|
|
- libcairo2-dev
|
|
|
|
- libstartup-notification0-dev
|
|
|
|
- libxcb-icccm4-dev
|
|
|
|
- libxcb-util0-dev
|
|
|
|
- libxcb-xinerama0-dev
|
|
|
|
- libxcb-xkb-dev
|
|
|
|
- libxcb1-dev
|
|
|
|
- xvfb
|
|
|
|
- discount
|
|
|
|
- xdotool
|
|
|
|
- fluxbox
|
2015-07-16 15:39:40 -04:00
|
|
|
|
2014-08-28 15:19:46 -04:00
|
|
|
compiler:
|
2016-03-20 12:24:59 -04:00
|
|
|
- gcc
|
2014-08-28 15:19:46 -04:00
|
|
|
|
2016-03-20 10:23:37 -04:00
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository -y 'deb http://debian.jpleau.ca/ jessie-backports main contrib non-free'
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
|
2016-04-02 04:21:54 -04:00
|
|
|
# TODO: We install xkbcommon here, until Travis use an up-to-date enough Ubuntu
|
|
|
|
# TODO: We install libxcb-ewmh-dev here, until it is whitelisted again in Travis
|
2016-03-20 09:36:23 -04:00
|
|
|
install:
|
2016-04-02 04:21:54 -04:00
|
|
|
- sudo apt-get install -y --force-yes libxkbcommon-dev libxkbcommon-x11-dev libxcb-ewmh-dev
|
2016-03-20 09:36:23 -04:00
|
|
|
|
|
|
|
before_script:
|
2016-03-20 12:24:59 -04:00
|
|
|
- autoreconf -i
|
2016-04-02 05:15:20 -04:00
|
|
|
- ./configure --enable-gcov
|
2014-08-28 15:19:46 -04:00
|
|
|
|
2014-08-29 09:17:57 -04:00
|
|
|
script:
|
2015-07-16 15:43:32 -04:00
|
|
|
- make
|
2016-03-20 09:54:03 -04:00
|
|
|
- make check
|
2015-07-16 15:47:53 -04:00
|
|
|
# to re-enable if xdotool is allowed.
|
2015-07-21 02:14:53 -04:00
|
|
|
- make test-x
|
2016-01-05 10:46:43 -05:00
|
|
|
- make test-x1
|
2015-12-31 13:04:38 -05:00
|
|
|
- gcov source/rofi.c
|
2015-11-08 04:35:43 -05:00
|
|
|
- make distcheck
|
2015-12-31 13:04:38 -05:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|