Set upload env. variable in travis env since the cmake version on Travis is too old

vector-concat
Marius Kintel 2013-12-09 00:24:55 -05:00
parent a22394fc39
commit 6fd378e9af
1 changed files with 5 additions and 0 deletions

View File

@ -432,6 +432,11 @@ def main():
upload = True upload = True
debug('will upload test report') debug('will upload test report')
# Workaround for old cmake's not being able to pass parameters
# to CTEST_CUSTOM_POST_TEST
if bool(os.getenv("OPENSCAD_UPLOAD_TESTS")):
upload = True
# --- End Command Line Parsing --- # --- End Command Line Parsing ---
sysinfo, sysid = read_sysinfo(os.path.join(builddir, 'sysinfo.txt')) sysinfo, sysid = read_sysinfo(os.path.join(builddir, 'sysinfo.txt'))