2014-05-03 11:54:12 -04:00
|
|
|
language: c
|
|
|
|
|
2014-05-11 04:25:30 -04:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
2014-07-20 16:31:33 -04:00
|
|
|
env:
|
2014-11-08 08:02:30 -05:00
|
|
|
- BUILDTOOL="cmake" BUILDARGS=""
|
|
|
|
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON"
|
|
|
|
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_GNUTLS=OFF"
|
|
|
|
- BUILDTOOL="autotools" BUILDARGS=""
|
|
|
|
- BUILDTOOL="autotools" BUILDARGS="--enable-python3"
|
|
|
|
- BUILDTOOL="autotools" BUILDARGS="--disable-gnutls"
|
2014-07-20 16:31:33 -04:00
|
|
|
|
2014-05-05 16:33:35 -04:00
|
|
|
before_script:
|
2014-05-05 16:37:52 -04:00
|
|
|
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
2014-05-05 16:33:35 -04:00
|
|
|
- sudo apt-get update -qq
|
2014-12-13 03:54:16 -05:00
|
|
|
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint asciidoc source-highlight xsltproc docbook-xsl docbook-xml cmake pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.1-0-dev tcl8.5-dev guile-2.0-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl
|
2014-12-13 11:27:55 -05:00
|
|
|
- curl -OL https://weechat.org/files/tests/ubuntu/precise/amd64/libcpputest-dev_3.4-3_amd64.deb
|
2014-08-02 09:10:41 -04:00
|
|
|
- sudo dpkg -i libcpputest-dev_3.4-3_amd64.deb
|
2014-05-11 02:15:47 -04:00
|
|
|
- sudo pip install msgcheck pylint
|
2014-05-03 11:54:12 -04:00
|
|
|
|
|
|
|
script:
|
2014-07-20 16:31:33 -04:00
|
|
|
- ./scripts/build.sh
|
2014-05-05 13:47:06 -04:00
|
|
|
- msgcheck po/*.po
|
2014-05-11 02:15:47 -04:00
|
|
|
- pylint doc/docgen.py
|
2014-05-03 14:24:54 -04:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- weechat --help
|
2014-10-26 13:22:49 -04:00
|
|
|
- weechat -r "/debug libs;/quit"
|
2014-08-02 12:44:26 -04:00
|
|
|
|
2014-08-02 11:39:39 -04:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|