tdv/.travis.yml

37 lines
1.1 KiB
YAML
Raw Normal View History

2015-02-08 04:48:47 +01:00
language: c
notifications:
irc:
2016-03-14 21:27:57 +01:00
channels: "irc.janouch.name#dev"
2015-02-08 04:48:47 +01:00
use_notice: true
skip_join: true
2015-02-14 05:42:30 +01:00
env:
global:
- secure: "N6CD6ynyF+YpxhyQ6UkRz0pDQiM7jVqP5o5xkXuOP4I7+58Fq6ThEB/LK0NLIwHH9MVIyNWovlf5HHhkaLUW7qVFpmcxM3AGL0lAqaGIbZ8uCVuoL7ERtqpJ3uPl6hrt+tdUaSVvXQgteuTDgprQRICCDBxR/1s7/qBAL1T6VK0="
addons:
coverity_scan:
project:
name: "pjanouch/sdtui"
description: "StarDict terminal UI"
notification_email: p.janouch@gmail.com
2015-02-14 06:00:16 +01:00
build_command_prepend: "cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_GTK=ON -DBUILD_TESTING=ON"
2015-02-14 05:42:30 +01:00
build_command: "make"
branch_pattern: coverity_scan
2015-02-08 04:48:47 +01:00
compiler:
- clang
- gcc
before_install:
- sudo apt-get update -qq
install:
2015-02-08 05:04:41 +01:00
- sudo apt-get install -y xsltproc docbook-xsl zlib1g-dev libncursesw5-dev
- sudo apt-get install -y libgtk-3-dev libpango1.0-dev libicu-dev
2015-02-08 04:48:47 +01:00
before_script:
- mkdir build
- cd build
script:
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GTK=ON -DBUILD_TESTING=ON
- make
- cpack -G DEB
2015-05-28 21:33:08 +02:00
# We've excluded the tests in termo from the build
2015-05-28 22:01:57 +02:00
- sed -i -e "/^subdirs/d" -e "/^SUBDIRS/d" CTestTestfile.cmake
2015-05-28 21:33:08 +02:00
- ctest -V