2015-06-10 10:26:10 +00:00
|
|
|
language: c
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
|
|
|
git:
|
|
|
|
depth: 1
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
2015-07-21 10:15:06 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- iptables-dev
|
|
|
|
- libevent-dev
|
|
|
|
- libnfnetlink-dev
|
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
2015-06-10 10:26:10 +00:00
|
|
|
env:
|
|
|
|
- 'PROJECT=minissdpd'
|
|
|
|
- 'PROJECT=miniupnpc'
|
|
|
|
- 'PROJECT=miniupnpc-async'
|
|
|
|
- 'PROJECT=miniupnpc-libevent'
|
|
|
|
- 'PROJECT=miniupnpd'
|
|
|
|
|
|
|
|
script:
|
|
|
|
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
|
|
|
|
- 'MAKEFILE=Makefile && if [ -a Makefile.linux ]; then MAKEFILE=Makefile.linux; fi'
|
|
|
|
- 'make -f $MAKEFILE -j2'
|
2015-07-21 09:54:30 +00:00
|
|
|
- 'if [ "$PROJECT" = "miniupnpc" ]; then make -f $MAKEFILE check; fi'
|