summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: c8abc9d4de7706ddfe411d15796e050c5aee0005 (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
language: c

compiler:
    - gcc
    - clang

before_script:
    - echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
    - sudo apt-get update -qq
    - sudo apt-get -y install devscripts equivs python-pip libenchant-dev
    - sudo mk-build-deps -i debian/control
    - sudo pip install msgcheck pylint

script:
    - mkdir build
    - cd build
    - cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON
    - make VERBOSE=1
    - sudo make install
    - cd ..
    - msgcheck po/*.po
    - pylint doc/docgen.py

after_success:
    - weechat --help
    - weechat -r /quit