travis-ci: build miniupnpd to sub directories

This commit is contained in:
Thomas Bernard 2020-05-07 00:21:44 +02:00
parent 1cdc352788
commit 630f3ef681
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
1 changed files with 6 additions and 5 deletions

View File

@ -47,14 +47,15 @@ before_install:
script:
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
- 'if [ "$PROJECT" = "miniupnpd" ] ; then ./configure --ipv6 --igd2 ; fi'
- 'if [ "$PROJECT" = "miniupnpd" ] ; then mkdir build && cd build && ../configure --ipv6 --igd2 ; fi'
- 'make -j3'
- 'make check'
- 'if [ "$PROJECT" = "miniupnpd" ] ; then make dox ; cd .. ; fi'
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PROJECT" = "miniupnpd" ]; then
make dox ;
make clean ;
./configure --ipv6 --igd2 --firewall=nftables ;
make -j3 ;
mkdir build-nft && cd build-nft && ../configure --ipv6 --igd2 --firewall=nftables ;
fi
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PROJECT" = "miniupnpd" ]; then
make -j3 && make check ;
fi
- if [ "$PROJECT" = "miniupnpc" ]; then
INSTALLPREFIX="$HOME/_pythonmodule" make pythonmodule;