miniupnp/.travis.yml

34 lines
757 B
YAML
Raw Normal View History

language: c
matrix:
fast_finish: true
addons:
apt:
packages:
- iptables-dev
- libevent-dev
- libnfnetlink-dev
# container-based builds
sudo: false
env:
- 'PROJECT=minissdpd'
- 'PROJECT=miniupnpc'
- 'PROJECT=miniupnpc-async'
- 'PROJECT=miniupnpc-libevent'
- 'PROJECT=miniupnpd'
compiler:
- gcc
- clang
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'
after_success:
2015-08-26 08:24:54 +00:00
- 'INSTALLPREFIX="$HOME/$PROJECT" make -f $MAKEFILE install'