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

compiler:
    - gcc
    - clang

env:
    - BUILDTOOL=cmake
    - BUILDTOOL=autotools

before_script:
    - echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
    - sudo apt-get update -qq
    - wget http://weechat.org/files/tests/ubuntu/precise/amd64/libcpputest-dev_3.4-3_amd64.deb
    - sudo dpkg -i libcpputest-dev_3.4-3_amd64.deb
    - sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint
    - sudo mk-build-deps -i debian/control
    - sudo pip install msgcheck pylint

script:
    - ./scripts/build.sh
    - msgcheck po/*.po
    - pylint doc/docgen.py

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

matrix:
    fast_finish: true