mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
a1c877e680
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
93 lines
2.9 KiB
YAML
93 lines
2.9 KiB
YAML
|
|
sudo: required
|
|
dist: trusty
|
|
language: c
|
|
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="
|
|
|
|
addons:
|
|
coverity_scan:
|
|
project:
|
|
name: "DaveDavenport/rofi"
|
|
description: "Build submitted via Travis CI"
|
|
notification_email: qball@gmpclient.org
|
|
build_command_prepend: "autoreconf -i;./configure; make clean"
|
|
build_command: "make"
|
|
branch_pattern: coverity_scan
|
|
apt:
|
|
packages:
|
|
- autoconf
|
|
- automake
|
|
- make
|
|
- 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
|
|
- gdb
|
|
- lcov
|
|
- doxygen
|
|
- graphviz
|
|
- texinfo
|
|
- texi2html
|
|
|
|
compiler:
|
|
- gcc
|
|
|
|
before_install:
|
|
- sudo add-apt-repository -y 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse'
|
|
- sudo add-apt-repository -y 'deb http://debian.jpleau.ca/ jessie-backports main contrib non-free'
|
|
- sudo apt-get update -qq
|
|
- 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 flex/trusty-backports libfl-dev/trusty-backports
|
|
- git clone https://github.com/alobbs/doxy-coverage
|
|
- git clone --recursive https://github.com/Airblader/xcb-util-xrm.git
|
|
- cd xcb-util-xrm
|
|
- ./autogen.sh --prefix=/usr
|
|
- make
|
|
- sudo make install
|
|
- cd -
|
|
- git clone https://github.com/libcheck/check/ -b 0.11.0
|
|
- cd check
|
|
- autoreconf -i
|
|
- TEX="false" ./configure --prefix=/usr/
|
|
- make
|
|
- sudo make install
|
|
- cd -
|
|
|
|
before_script:
|
|
- autoreconf -i
|
|
- ./configure --enable-gcov --enable-drun
|
|
|
|
script:
|
|
- make
|
|
- make check
|
|
- ulimit -c unlimited
|
|
- make test-x
|
|
- if [ -f core ]; then echo "bt" | gdb ./rofi core; fi
|
|
- make test-x1
|
|
- make coverage-cli
|
|
- make distcheck
|
|
- make doxy 2>&1 > doxygen.log
|
|
- test $(grep -c warning doxygen.log) -eq 0
|
|
- ./doxy-coverage/doxy-coverage.py doc/html/xml/
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|