miniupnp/.travis.yml

34 lines
650 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-06 10:21:56 +00:00
- 'make -f $MAKEFILE -j3 && if [ "$PROJECT" = "miniupnpc" -o "$PROJECT" = "minissdpd" ]; then make -f $MAKEFILE check; fi'
after_success:
2015-07-29 21:45:24 +00:00
- 'make -f $MAKEFILE install'