travis-ci: build miniupnpd to sub directories
This commit is contained in:
parent
1cdc352788
commit
630f3ef681
11
.travis.yml
11
.travis.yml
|
@ -47,14 +47,15 @@ before_install:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
|
- '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 -j3'
|
||||||
- 'make check'
|
- 'make check'
|
||||||
|
- 'if [ "$PROJECT" = "miniupnpd" ] ; then make dox ; cd .. ; fi'
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PROJECT" = "miniupnpd" ]; then
|
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PROJECT" = "miniupnpd" ]; then
|
||||||
make dox ;
|
mkdir build-nft && cd build-nft && ../configure --ipv6 --igd2 --firewall=nftables ;
|
||||||
make clean ;
|
fi
|
||||||
./configure --ipv6 --igd2 --firewall=nftables ;
|
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PROJECT" = "miniupnpd" ]; then
|
||||||
make -j3 ;
|
make -j3 && make check ;
|
||||||
fi
|
fi
|
||||||
- if [ "$PROJECT" = "miniupnpc" ]; then
|
- if [ "$PROJECT" = "miniupnpc" ]; then
|
||||||
INSTALLPREFIX="$HOME/_pythonmodule" make pythonmodule;
|
INSTALLPREFIX="$HOME/_pythonmodule" make pythonmodule;
|
||||||
|
|
Loading…
Reference in New Issue