From e22eb22d29c0ab38b78feebe0821f474186d5b18 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Tue, 17 Jan 2017 19:26:32 +0100 Subject: Add .travis.yml --- .travis.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..967a929 --- /dev/null +++ b/.travis.yml @@ -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 -- cgit v1.2.3-70-g09d2