From 3e449c3195e23327b387164108093214c259816c Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Wed, 10 Jun 2015 18:26:10 +0800 Subject: [PATCH] Hookup with Travis CI Conflicts: README.md --- .travis.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a9e35b0 --- /dev/null +++ b/.travis.yml @@ -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'