ponymap/.travis.yml

44 lines
1.1 KiB
YAML

sudo: required
dist: trusty
language: c
notifications:
irc:
channels: "irc.janouch.name#dev"
use_notice: true
skip_join: true
template:
- "%{repository_name}#%{build_number} on %{branch}: %{message}"
- " %{compare_url}"
- " %{build_url}"
on_success: change
on_failure: always
env:
global:
- secure: "HwvulqH0sB/PJVWzv/N3C8SjbeoW0QDWY2WmdVOxj2pzLJY/KtyWCktHRmXxGLcua99dA3wuwWpo5zMj+exw5pqnhgatnpinMR0DZ1+1hrEqPTbRwm+iy+QLsk1kUzksbijewmCYOggXoWu6ltvU9aEFjsSInuWap0MlFbBidGE="
addons:
coverity_scan:
project:
name: "pjanouch/ponymap"
description: "Experimental network scanner"
notification_email: p.janouch@gmail.com
build_command_prepend: "cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_LUA=ON"
build_command: "make"
branch_pattern: coverity_scan
compiler:
- clang
- gcc
before_install:
# We need this PPA for Lua 5.3
- sudo add-apt-repository ppa:ukplc-team/ppa -y
- sudo apt-get update -qq
install:
- sudo apt-get install -y help2man libjansson-dev libncursesw5-dev
liblua5.3-dev
before_script:
- mkdir build
- cd build
script:
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
- make
- cpack -G DEB