Tests don't run on insecure build

This commit is contained in:
mhutti1 2017-06-30 12:27:46 +02:00 committed by Isaac Hutt
parent 1bd00248f6
commit 418d636734

View File

@ -5,6 +5,11 @@ import sys
import os
PROJECT_ID = 116910522
if os.environ.get('BITBAR_API_KEY') == None:
print "Tests could not run on insecure fork"
sys.exit(0)
runID = os.environ['TRAVIS_BUILD_NUMBER']
apiKey = os.environ['BITBAR_API_KEY']
testName = "Auto Test {}".format(runID)