Hookup with Travis CI

Conflicts:
	README.md
This commit is contained in:
Chocobo1 2015-06-10 18:26:10 +08:00 committed by Thomas Bernard
parent 29b1201c8e
commit 3e449c3195
1 changed files with 26 additions and 0 deletions

26
.travis.yml Normal file
View File

@ -0,0 +1,26 @@
language: c
compiler:
- gcc
- clang
git:
depth: 1
matrix:
fast_finish: true
env:
- 'PROJECT=minissdpd'
- 'PROJECT=miniupnpc'
- 'PROJECT=miniupnpc-async'
- 'PROJECT=miniupnpc-libevent'
- 'PROJECT=miniupnpd'
before_install:
- 'sudo apt-get -qq update'
- 'sudo apt-get -qq install iptables-dev libevent-dev libnfnetlink-dev'
script:
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
- 'MAKEFILE=Makefile && if [ -a Makefile.linux ]; then MAKEFILE=Makefile.linux; fi'
- 'make -f $MAKEFILE -j2'