summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 911f57a6e12810b71ada3b78a7aa4d88cf967b42 (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: "anathema.irc.so#anathema"
  use_notice: true
  skip_join: true
env:
 global:
  - secure: "NB5gz8zMejijB1I4agUjAzYnc4lmxTk6ZGy6tc20zPhyCYXtnHFNvS0TYbpD6k1lF8mvDs0V9U+XPEFOxZf+4UOwZJfNsz/AuDAvP48cfeidNvFcZzOQ6rG60MJJ4oyy1KuemKTzZYI5r46+KBjrCa6Ne9HeAKFd4ze2f4H1nyU="
 matrix:
  - readline=ON libedit=OFF
  - readline=OFF libedit=ON
addons:
 coverity_scan:
  project:
   name: "pjanouch/uirc3"
   description: "Experimental IRC client, daemon and bot"
  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:
 # We need this PPA for a recent version of libedit
 - sudo add-apt-repository ppa:ondrej/php5-5.6 -y
 - sudo apt-get update -qq
install:
 - sudo apt-get install -y help2man libedit-dev
before_script:
 - mkdir build
 - cd build
script:
 - cmake .. -DCMAKE_INSTALL_PREFIX=/usr
   -DWANT_READLINE=$readline -DWANT_LIBEDIT=$libedit
 - make
 - cpack -G DEB
 - ../test