summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: ded85ec576e6f8d2bf9850982974dcbbfafb2953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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: "Xe3sUsIDBcyA1orysIgtj4Mh5n3gfDlc5ERSzFDptTdP45wvmXiaBGi332XdudXWiVW1tW9MAF+BX27CpIf01L9g8b88+XIkUXQoWOLzT3Yrp9O+aEF4xoCCODQKAtVaYay9+GPQkJ65+pnM+mG6K7pAnyBjckn7DGcKSpt12kM="
addons:
 coverity_scan:
  project:
   name: "pjanouch/json-rpc-shell"
   description: "Shell for JSON-RPC 2.0 HTTP queries"
  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 add-apt-repository ppa:ukplc-team/ppa -y
 - sudo apt-get update -qq
install:
 - sudo apt-get install -y help2man libcurl4-openssl-dev libjansson-dev libev-dev libreadline-dev libncursesw5-dev
before_script:
 - mkdir build
 - cd build
script:
 - cmake .. -DCMAKE_INSTALL_PREFIX=/usr
 - make
 - cpack -G DEB