From 4199ce46ca8888e9503f9539b30d3533a2dcd61c Mon Sep 17 00:00:00 2001 From: Tomofumi Hayashi Date: Wed, 18 Mar 2015 15:52:22 +0900 Subject: [PATCH] First commit for travisCI. --- miniupnpd/.travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 miniupnpd/.travis.yml diff --git a/miniupnpd/.travis.yml b/miniupnpd/.travis.yml new file mode 100644 index 0000000..4440e67 --- /dev/null +++ b/miniupnpd/.travis.yml @@ -0,0 +1,10 @@ +language: c +compiler: + - gcc +before_script: + - apt-get install -y git wget bison flex libgmp-dev libreadline-dev libnfnetlink-dev libmnl-dev libssl-dev + - (wget -O - ftp://ftp.netfilter.org/pub/libnftnl/libnftnl-1.0.3.tar.bz2 | tar xvfpj - ; cd libnftnl-1.0.3; ./configure; make ; make install) + - (wget -O - ftp://ftp.netfilter.org/pub/nftables/nftables-0.4.tar.bz2 | tar xvfpj - ; cd nftables-0.4; ./configure; make; make install) + - (wget -O - ftp://ftp.netfilter.org/pub/libnfnetlink/libnfnetlink-1.0.1.tar.bz2 | tar xvfpj -; cd libnfnetlink-1.0.1; ./configure; make ; make install) +script: + - make -f Makefile.linux_nft config.h all