From 96a25871cee5ff6c61393b4924b48292e6e5a226 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 23 Apr 2019 13:13:28 +0200 Subject: [PATCH] travis-ci: "make check" for all subprojects --- .travis.yml | 4 +--- miniupnpc-async/Makefile | 3 +++ miniupnpc-libevent/Makefile | 3 +++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b709df5..9957b3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,9 +50,7 @@ script: fi - 'CONFIG_OPTIONS="--ipv6 --igd2" make -f $MAKEFILE -j3' # - 'if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PROJECT" = "miniupnpd" ]; then make -f Makefile.linux_nft ; fi' - - if [ "$PROJECT" = "miniupnpc" -o "$PROJECT" = "minissdpd" -o "$PROJECT" = "miniupnpd" ]; then - make -f $MAKEFILE check; - fi + - make -f $MAKEFILE check - if [ "$PROJECT" = "miniupnpc" ]; then INSTALLPREFIX="$HOME/_pythonmodule" make -f $MAKEFILE pythonmodule; fi diff --git a/miniupnpc-async/Makefile b/miniupnpc-async/Makefile index ee75a58..ea0cd5b 100644 --- a/miniupnpc-async/Makefile +++ b/miniupnpc-async/Makefile @@ -61,6 +61,9 @@ INSTALLDIRBIN = $(INSTALLPREFIX)/bin all: $(LIBRARY) $(EXECUTABLES) +check: + @echo "To be implemented" + pythonmodule: $(LIBRARY) miniupnpcmodule.c setup.py python setup.py build touch $@ diff --git a/miniupnpc-libevent/Makefile b/miniupnpc-libevent/Makefile index ebde5b4..53ebd03 100644 --- a/miniupnpc-libevent/Makefile +++ b/miniupnpc-libevent/Makefile @@ -48,6 +48,9 @@ EXECUTABLE = upnpc-libevent all: $(EXECUTABLE) +check: + @echo "To be implemented" + clean: $(RM) $(OBJS) $(RM) $(EXECUTABLE)