xK/.travis.yml

51 lines
1.4 KiB
YAML
Raw Normal View History

2015-12-09 21:00:44 +01:00
sudo: required
dist: trusty
2015-02-08 05:53:55 +01:00
language: c
notifications:
irc:
2016-03-14 20:41:07 +01:00
channels: "irc.janouch.name#dev"
2015-02-08 05:53:55 +01:00
use_notice: true
skip_join: true
2017-02-03 23:17:15 +01:00
template:
- "%{repository_name}#%{build_number} on %{branch}: %{message}"
- " %{compare_url}"
- " %{build_url}"
on_success: change
on_failure: always
2015-02-14 06:24:47 +01:00
env:
global:
- secure: "ck6keK5tTbVCN7VGyKglS890hjovUNt2zyOydiyFtQDciaB/rvEwkKy4anMCEdZHFpGAPE9iBmNYaGUsD1Y+KifhhImVMbuThe2D8MLv5crSLRheYPbbmhO8MWPAxmQnuQhpwsUKZlHvUfX8nh+d0juNdqXklvhVml78Gi99QFw="
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:
2016-12-30 14:47:50 +01:00
# We need this PPA for a recent version of libedit
- sudo add-apt-repository ppa:ondrej/php -y
2015-12-09 21:00:44 +01:00
# We need this PPA for Lua 5.3
- sudo add-apt-repository ppa:vbernat/haproxy-1.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-12-09 21:00:44 +01:00
- sudo apt-get install -y libncursesw5-dev libreadline-dev libedit-dev
2016-03-14 20:41:07 +01:00
liblua5.3-dev libffi-dev help2man 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
- make all test
2015-02-12 02:27:12 +01:00
- cpack -G DEB
- ../test