2016-06-15 19:41:27 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2015-03-16 18:35:22 +00:00
|
|
|
language: c
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2015-04-20 06:36:34 +00:00
|
|
|
addons:
|
|
|
|
# See http://docs.travis-ci.com/user/apt/
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libconfuse-dev
|
|
|
|
- libyajl-dev
|
|
|
|
- libasound2-dev
|
2015-04-20 06:43:08 +00:00
|
|
|
- libpulse-dev
|
2015-09-24 19:54:02 +00:00
|
|
|
- libnl-genl-3-dev
|
2015-04-20 06:36:34 +00:00
|
|
|
- asciidoc
|
|
|
|
# xmlto pulls in a2x which we need for generating manpages from asciidoc.
|
|
|
|
- xmlto
|
|
|
|
- libcap2-bin
|
|
|
|
- clang-format-3.5
|
|
|
|
- libllvm3.5
|
2015-03-16 18:35:22 +00:00
|
|
|
script:
|
|
|
|
- make -j
|
2015-04-20 06:36:34 +00:00
|
|
|
- clang-format-3.5 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
|
2016-11-14 08:13:44 +00:00
|
|
|
- ./travis/run-tests.pl
|