travis-ci: "make check" for all subprojects

This commit is contained in:
Thomas Bernard 2019-04-23 13:13:28 +02:00
parent de37ef906e
commit 96a25871ce
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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 $@

View File

@ -48,6 +48,9 @@ EXECUTABLE = upnpc-libevent
all: $(EXECUTABLE)
check:
@echo "To be implemented"
clean:
$(RM) $(OBJS)
$(RM) $(EXECUTABLE)