From 15422b3a67f7e3d63710b23d79c832271feec5c1 Mon Sep 17 00:00:00 2001 From: Bogdan Marinescu Date: Fri, 8 Nov 2013 18:21:58 +0200 Subject: [PATCH] Travis-CI: display the build command before running it --- workspace_tools/build_travis.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/workspace_tools/build_travis.py b/workspace_tools/build_travis.py index 595650a363..83f3ead72d 100644 --- a/workspace_tools/build_travis.py +++ b/workspace_tools/build_travis.py @@ -25,9 +25,8 @@ def run_builds(dry_run): libs = build.get("libs", []) if libs: cmdline = cmdline + " ".join(["--" + l for l in libs]) - if dry_run: - print(cmdline) - else: + print "Executing: " + cmdline + if not dry_run: if os.system(cmdline) != 0: sys.exit(1)