2014-05-03 18:54:12 +03:00
|
|
|
language: c
|
|
|
|
|
2014-05-11 10:25:30 +02:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
2015-10-27 23:06:07 +02:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
2014-07-20 22:31:33 +02:00
|
|
|
env:
|
2017-09-24 15:57:05 +02: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:
|
2017-09-24 15:45:24 +02:00
|
|
|
# Workaround https://github.com/travis-ci/travis-ci/issues/5326
|
2015-10-27 23:06:07 +02:00
|
|
|
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
|
2014-05-05 22:37:52 +02:00
|
|
|
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
2017-09-03 12:17:26 +02:00
|
|
|
- sudo add-apt-repository -y ppa:ondrej/php
|
2014-05-05 22:33:35 +02:00
|
|
|
- sudo apt-get update -qq
|
2017-09-03 12:17:26 +02:00
|
|
|
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint 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 libcpputest-dev php7.0-dev libphp7.0-embed
|
2016-08-30 18:49:01 +02:00
|
|
|
- sudo gem install asciidoctor
|
2014-05-11 08:15:47 +02:00
|
|
|
- sudo pip install msgcheck pylint
|
2017-09-03 12:17:26 +02:00
|
|
|
- phpenv local system
|
2014-05-03 18:54:12 +03:00
|
|
|
|
|
|
|
script:
|
2015-10-22 20:54:12 +02:00
|
|
|
- ./tools/build-test.sh
|
2014-05-05 19:47:06 +02:00
|
|
|
- msgcheck po/*.po
|
2015-11-30 10:22:04 +01:00
|
|
|
- pylint --version
|
2014-05-11 08:15:47 +02:00
|
|
|
- pylint doc/docgen.py
|
2017-10-07 16:51:25 +02:00
|
|
|
- pylint tests/scripts/python/testapigen.py
|
|
|
|
- pylint tests/scripts/python/testapi.py
|
|
|
|
- pylint tests/scripts/python/unparse.py
|
2018-03-20 22:11:01 +01:00
|
|
|
- ./tools/build-debian.sh test-patches
|
2014-05-03 21:24:54 +03:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- weechat --help
|
2015-01-24 16:30:13 +01:00
|
|
|
- weechat-curses --help
|
2018-11-17 10:46:12 +01:00
|
|
|
- weechat --colors
|
|
|
|
- weechat --license
|
|
|
|
- weechat --version
|
|
|
|
- weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
2014-08-02 18:44:26 +02:00
|
|
|
|
2014-08-02 18:39:39 +03:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|