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 fi
- 'CONFIG_OPTIONS="--ipv6 --igd2" make -f $MAKEFILE -j3' - 'CONFIG_OPTIONS="--ipv6 --igd2" make -f $MAKEFILE -j3'
# - 'if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PROJECT" = "miniupnpd" ]; then make -f Makefile.linux_nft ; fi' # - '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
make -f $MAKEFILE check;
fi
- if [ "$PROJECT" = "miniupnpc" ]; then - if [ "$PROJECT" = "miniupnpc" ]; then
INSTALLPREFIX="$HOME/_pythonmodule" make -f $MAKEFILE pythonmodule; INSTALLPREFIX="$HOME/_pythonmodule" make -f $MAKEFILE pythonmodule;
fi fi

View File

@ -61,6 +61,9 @@ INSTALLDIRBIN = $(INSTALLPREFIX)/bin
all: $(LIBRARY) $(EXECUTABLES) all: $(LIBRARY) $(EXECUTABLES)
check:
@echo "To be implemented"
pythonmodule: $(LIBRARY) miniupnpcmodule.c setup.py pythonmodule: $(LIBRARY) miniupnpcmodule.c setup.py
python setup.py build python setup.py build
touch $@ touch $@

View File

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