aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 76d35adbe29663b295e5be451c1e98fba437348f (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: "rzavv9NhQeZ3Zn6g9WgabUuTsXG1ncc+dWyXw3ytN15uWa4UelVzjAYvr31XeyXwsqZi3rDRHuz8ooIi1NLeLewozpEdkyakLjZOAnggqCnkF/yw/secuRo8MzweGXAefF+7cR2JYyH/E/PfMfAY8Qb0NnfEV1j7X9GCN2sJcxA="
addons:
 coverity_scan:
  project:
   name: "pjanouch/termo"
   description: "Terminal key input library"
  notification_email: p.janouch@gmail.com
  build_command_prepend: "cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON"
  build_command: "make all demos"
  branch_pattern: coverity_scan
compiler:
 - clang
 - gcc
before_install:
 - sudo apt-get update -qq
install:
 - sudo apt-get install -y libncursesw5-dev libglib2.0-dev
before_script:
 - mkdir build
 - cd build
script:
 - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON
 - make all demos
 - ctest -V
 - cpack -G DEB