fash_finish makes it so that if one job fails, the build is marked as failed without having to wait for the other jobs to finish. If there are still unfinished jobs at the time of failure, they continue running after the build has been marked as failed.
30 lines
709 B
YAML
30 lines
709 B
YAML
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
|