Travis CI : make check inside script:
This commit is contained in:
parent
4cad722f38
commit
24e0ba6bd4
|
@ -27,8 +27,7 @@ compiler:
|
|||
script:
|
||||
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
|
||||
- 'MAKEFILE=Makefile && if [ -a Makefile.linux ]; then MAKEFILE=Makefile.linux; fi'
|
||||
- 'make -f $MAKEFILE -j3'
|
||||
- 'make -f $MAKEFILE -j3 && if [ "$PROJECT" = "miniupnpc" ]; then make -f $MAKEFILE check; fi'
|
||||
|
||||
after_success:
|
||||
- 'make -f $MAKEFILE install'
|
||||
- 'if [ "$PROJECT" = "miniupnpc" ]; then make -f $MAKEFILE check; fi'
|
||||
|
|
Loading…
Reference in New Issue