aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 5783c579c140fb21a13dbd286d62dd74188416dc (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
40
41
42
43
44
45
46
47
48
49
50
language: c

notifications:
  email: false

os:
  - linux

compiler:
  - gcc

env:
  - ANALYZER=""
  - ANALYZER="scan-build -k --status-bugs"

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq
      --no-install-recommends
      asciidoc
      clang
      libjson-glib-dev
      lynx
      xsltproc
      xmlto

install:
  - git clone https://github.com/bitlbee/bitlbee
  - cd bitlbee
  - git checkout -b develop origin/develop
  - ./configure
      --events=glib
      --ssl=gnutls
      --debug=1
      --plugins=1
      --jabber=0
      --msn=0
      --oscar=0
      --otr=0
      --purple=0
      --skype=0
      --twitter=0
      --yahoo=0
  - make
  - sudo make install install-dev
  - cd -

script:
  - CFLAGS="-Werror" ./autogen.sh --enable-warnings
  - ${ANALYZER} make