weechat/.travis.yml

44 lines
1.5 KiB
YAML
Raw Normal View History

2014-05-03 11:54:12 -04:00
language: c
compiler:
- gcc
- clang
sudo: required
dist: trusty
env:
- BUILDTOOL="cmake" BUILDARGS="" PY_VER=2.7
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON" PY_VER=3.5
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_GNUTLS=OFF" PY_VER=2.7
- BUILDTOOL="autotools" BUILDARGS="" PY_VER=2.7
- BUILDTOOL="autotools" BUILDARGS="--enable-python3" PY_VER=3.5
- BUILDTOOL="autotools" BUILDARGS="--disable-gnutls" PY_VER=2.7
before_script:
# Workaround https://github.com/travis-ci/travis-ci/issues/5326
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
# Workaround https://github.com/travis-ci/travis-ci/issues/8363
- pyenv global system ${PY_VER}
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
- sudo add-apt-repository -y ppa:ondrej/php
- sudo apt-get update -qq
- 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
- sudo gem install asciidoctor
- sudo pip install msgcheck pylint
- phpenv local system
2014-05-03 11:54:12 -04:00
script:
- ./tools/build-test.sh
- msgcheck po/*.po
- pylint --version
- pylint doc/docgen.py
after_success:
- weechat --help
- weechat-curses --help
- weechat -r "/debug libs;/quit"
2014-08-02 12:44:26 -04:00
matrix:
fast_finish: true