From 24e0ba6bd4c3616a0b84c7c999452ff1d2e33ded Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 29 Jul 2015 23:59:25 +0200 Subject: [PATCH] Travis CI : make check inside script: --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8c3ea31..cc7258a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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'