2014-05-03 18:54:12 +03:00
|
|
|
language: c
|
|
|
|
|
2014-05-11 10:25:30 +02:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
2014-07-20 22:31:33 +02:00
|
|
|
env:
|
2014-11-08 14:02:30 +01: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 22:31:33 +02:00
|
|
|
|
2014-05-05 22:33:35 +02:00
|
|
|
before_script:
|
2014-05-05 22:37:52 +02:00
|
|
|
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
2014-05-05 22:33:35 +02:00
|
|
|
- sudo apt-get update -qq
|
2015-03-08 11:58:52 +01: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 libv8-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl
|
2014-12-13 17:27:55 +01:00
|
|
|
- curl -OL https://weechat.org/files/tests/ubuntu/precise/amd64/libcpputest-dev_3.4-3_amd64.deb
|
2014-08-02 15:10:41 +02:00
|
|
|
- sudo dpkg -i libcpputest-dev_3.4-3_amd64.deb
|
2014-05-11 08:15:47 +02:00
|
|
|
- sudo pip install msgcheck pylint
|
2014-05-03 18:54:12 +03:00
|
|
|
|
|
|
|
script:
|
2014-07-20 22:31:33 +02:00
|
|
|
- ./scripts/build.sh
|
2014-05-05 19:47:06 +02:00
|
|
|
- msgcheck po/*.po
|
2014-05-11 08:15:47 +02:00
|
|
|
- pylint doc/docgen.py
|
2014-05-03 21:24:54 +03:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- weechat --help
|
2015-01-24 16:30:13 +01:00
|
|
|
- weechat-curses --help
|
2014-10-26 18:22:49 +01:00
|
|
|
- weechat -r "/debug libs;/quit"
|
2014-08-02 18:44:26 +02:00
|
|
|
|
2014-08-02 18:39:39 +03:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|