Travis CI : make check inside script:

This commit is contained in:
Thomas Bernard 2015-07-29 23:59:25 +02:00
parent 4cad722f38
commit 24e0ba6bd4
1 changed files with 1 additions and 2 deletions

View File

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