xK/.travis.yml

40 lines
1.0 KiB
YAML
Raw Normal View History

2015-02-08 05:53:55 +01:00
language: c
notifications:
irc:
channels: "anathema.irc.so#anathema"
2015-02-08 05:53:55 +01:00
use_notice: true
skip_join: true
2015-02-14 06:24:47 +01:00
env:
global:
- secure: "NB5gz8zMejijB1I4agUjAzYnc4lmxTk6ZGy6tc20zPhyCYXtnHFNvS0TYbpD6k1lF8mvDs0V9U+XPEFOxZf+4UOwZJfNsz/AuDAvP48cfeidNvFcZzOQ6rG60MJJ4oyy1KuemKTzZYI5r46+KBjrCa6Ne9HeAKFd4ze2f4H1nyU="
matrix:
- readline=ON libedit=OFF
- readline=OFF libedit=ON
2015-02-14 06:24:47 +01:00
addons:
coverity_scan:
project:
2015-04-30 01:39:08 +02:00
name: "pjanouch/uirc3"
description: "Experimental IRC client, daemon and bot"
2015-02-14 06:24:47 +01:00
notification_email: p.janouch@gmail.com
build_command_prepend: "cmake .. -DCMAKE_BUILD_TYPE=Release"
build_command: "make"
branch_pattern: coverity_scan
2015-02-08 05:53:55 +01:00
compiler:
- clang
- gcc
before_install:
# We need this PPA for a recent version of libedit
2015-05-08 00:16:16 +02:00
- sudo add-apt-repository ppa:ondrej/php5-5.6 -y
2015-02-08 05:53:55 +01:00
- sudo apt-get update -qq
2015-02-12 02:27:12 +01:00
install:
2015-05-12 05:45:06 +02:00
- sudo apt-get install -y help2man libedit-dev expect
2015-02-12 02:27:12 +01:00
before_script:
- mkdir build
- cd build
2015-02-08 05:53:55 +01:00
script:
2015-05-08 00:32:39 +02:00
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-DWANT_READLINE=$readline -DWANT_LIBEDIT=$libedit
2015-02-08 05:53:55 +01:00
- make
2015-02-12 02:27:12 +01:00
- cpack -G DEB
- ../test