1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00
rofi/.travis.yml

78 lines
2.2 KiB
YAML
Raw Normal View History

2016-10-17 12:37:56 -04:00
sudo: required
2015-12-01 17:31:18 -05:00
dist: trusty
2014-08-28 15:29:06 -04:00
language: c
2016-10-17 12:37:56 -04:00
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "Uodrn3x36plX2yk4+c7eimCuv7j6p6n1XCNbNEYxibRX77730eQMCVS0BvM40OgD7m5K9s2hIQaMV7EMj3qKuRmemULDVJVTgNd1fbx6t4BhYh+Hrf6FhsNcm9nFxvQQrdJAVSOwIAlrUilVFotDRt9qKqLwwZiBKIs5gBPcHQY="
2015-07-16 15:39:40 -04:00
addons:
2016-10-17 12:37:56 -04:00
coverity_scan:
project:
name: "DaveDavenport/rofi"
description: "Build submitted via Travis CI"
notification_email: qball@gmpclient.org
2016-10-17 14:19:58 -04:00
build_command_prepend: "autoreconf -i;./configure; make clean"
build_command: "make"
2016-10-17 12:37:56 -04:00
branch_pattern: coverity_scan
2015-07-16 15:39:40 -04:00
apt:
packages:
- autoconf
- automake
- make
2016-06-25 08:17:49 -04:00
- xutils-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
2016-08-19 13:44:31 -04:00
- gdb
2016-10-18 16:54:38 -04:00
- lcov
2015-07-16 15:39:40 -04:00
2014-08-28 15:19:46 -04:00
compiler:
- gcc
2014-08-28 15:19:46 -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-10-17 12:37:56 -04:00
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
# 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
install:
- sudo apt-get install -y --force-yes libxkbcommon-dev libxkbcommon-x11-dev libxcb-ewmh-dev
before_script:
2016-06-25 08:14:39 -04:00
- git clone --recursive https://github.com/Airblader/xcb-util-xrm.git
- cd xcb-util-xrm
- ./autogen.sh --prefix=/usr
- make
- sudo make install
- cd -
- autoreconf -i
2016-08-31 04:09:41 -04:00
- ./configure --enable-gcov --enable-drun
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
- 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
2016-10-18 16:57:53 -04:00
- make coverage-cli
# - 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)
2016-10-17 12:37:56 -04:00