Browse Source

don't execute coverage script for private travis

Steffen Jaeckel 9 years ago
parent
commit
2df86d65e8
1 changed files with 5 additions and 1 deletions
  1. 5 1
      coverage.sh

+ 5 - 1
coverage.sh

@@ -2,8 +2,12 @@
 
 set -e
 
+if [ "$TRAVIS_CI" == "private" ]; then
+    exit 0
+fi
+
 if [ "$#" != "5" ]; then
-    echo "Usage is: ${0} \"coverage\" \"<first CFLAGS>\" \"<makefile>\" \"<last CFLAGS>\" <math library to link to>"
+    echo "Usage is: ${0} \"coverage\" \"<prepend CFLAGS>\" \"<makefile>\" \"<append CFLAGS>\" <math library to link to>"
     echo "CC=gcc ${0} \"coverage\" \" \" \"makefile\" \"-DUSE_LTM -DLTM_DESC -I../libtommath\" ../libtommath/libtommath.a"
     exit -1
 fi