travis: Properly pass back result of make
authorTobias Brunner <tobias@strongswan.org>
Tue, 20 Sep 2016 11:19:33 +0000 (13:19 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 20 Sep 2016 13:32:28 +0000 (15:32 +0200)
Fixes: 4e8f5a189cce ("travis: Add apidoc check")

scripts/test.sh

index 3a7c9d1..595fa5f 100755 (executable)
@@ -159,7 +159,7 @@ apidoc)
 esac
 
 echo "$ make $TARGET"
 esac
 
 echo "$ make $TARGET"
-make -j4 $TARGET
+make -j4 $TARGET || exit $?
 
 case "$TEST" in
 apidoc)
 
 case "$TEST" in
 apidoc)