Add .travis.yml

This commit is contained in:
Přemysl Eric Janouch 2017-01-17 19:26:32 +01:00
parent 4aea3239b9
commit e22eb22d29
Signed by: p
GPG Key ID: B715679E3A361BE6

34
.travis.yml Normal file
View File

@ -0,0 +1,34 @@
sudo: required
dist: trusty
language: c
notifications:
irc:
channels: "irc.janouch.name#dev"
use_notice: true
skip_join: true
env:
global:
- secure: "fhbDocsjqrIMNRvC7x8oOynjEvysmjeLa1J0/ilJ8/LWo1tAbw5I7zvly/bHai142JbezcIGkKjgoNybR6ntr7QCaKZRd21eoU8xxi44GqweZD4/+DnyrswNc8Eg1VpCtuEaQwmJjdb7muGwmvdwqXf6fQAoV+3k44ihi67K/D9mpEOg7idkhE7bJpB3p0dfcc0iBXfDpC/z80YmiyJmyZU1qFKjeez8el3UuFRtrrC3C5jDUPlSbpA4Q3HCye/qwApskzEpzNzr19ivdAjS3oI31nyGB7fLZnC20Svh65mF2NIsnjNkxr1mNaz4iJl6Sx+VWodEdsLTX3QhM7+OkHZnLOSoq8vyaMvFhleByQ8z4ozowdnNdk8boVczDP4x+gxgnOzaC/dDSe69dTdA1tRexSg+kiKiSmiLf4GoZezSWPCJPryu/CP985yU386UpCyf0N9y6dZLHjCjtEsyEaP5u49bDoukgxgpIZg82JHNp093NPltf33Nz0bIA4xt4VA2t1VIg/6u3IvP+m9Vy+p2i0BjwJjd2agDeRSHUryPN/wuuxjmP4Q9I3Dagiln0GujfUJIUZL7yCS3EEYjsG/11jz5CZXdgXv7o6a2WTq3X0iL0WBfrngpHZOzyo53qwzC4jguz5H/ashGTP0QMzmcwLQUAZaDhhwnhuuBXao="
addons:
coverity_scan:
project:
name: "pjanouch/nncmpp"
description: "MPD client"
notification_email: p.janouch@gmail.com
build_command_prepend: "cmake .. -DCMAKE_BUILD_TYPE=Release"
build_command: "make"
branch_pattern: coverity_scan
compiler:
- clang
- gcc
before_install:
- sudo apt-get update -qq
install:
- sudo apt-get install -y libncursesw5-dev libunistring-dev libcurl4-openssl-dev help2man
before_script:
- mkdir build
- cd build
script:
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
- make all
- cpack -G DEB