2015-06-10 10:26:10 +00:00
language : c
matrix :
fast_finish : true
2015-07-21 10:15:06 +00:00
addons :
apt :
packages :
- iptables-dev
- libevent-dev
- libnfnetlink-dev
2015-07-22 13:06:53 +00:00
# container-based builds
2015-07-21 10:15:06 +00:00
sudo : false
2015-06-10 10:26:10 +00:00
env :
- 'PROJECT=minissdpd'
- 'PROJECT=miniupnpc'
- 'PROJECT=miniupnpc-async'
- 'PROJECT=miniupnpc-libevent'
- 'PROJECT=miniupnpd'
2015-07-22 13:06:53 +00:00
compiler :
- gcc
- clang
2015-06-10 10:26:10 +00:00
script :
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
- 'MAKEFILE=Makefile && if [ -a Makefile.linux ]; then MAKEFILE=Makefile.linux; fi'
2015-08-17 14:24:56 +00:00
- 'make -f $MAKEFILE -j3 && if [ "$PROJECT" = "miniupnpc" -o "$PROJECT" = "minissdpd" ]; then make -f $MAKEFILE check; fi && if [ "$PROJECT" = "miniupnpc" ]; then make -f $MAKEFILE pythonmodule; fi'
2015-07-22 13:06:53 +00:00
after_success :
2015-07-29 21:45:24 +00:00
- 'make -f $MAKEFILE install'