aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 75f8c42dd108098521757ad8ee1dda7ea287c9ef (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
language: c

notifications:
  email: false

os:
  - linux

compiler:
  - gcc

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq
      --no-install-recommends
      asciidoc
      clang
      libjson-glib-dev
      lynx
      xsltproc
      xmlto
  - 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
  - scan-build -k
      --use-cc=$(which "${CC}")
      --status-bugs
      -analyze-headers
      make