Skip to content

Commit 15422b3

Browse files
author
Bogdan Marinescu
committed
Travis-CI: display the build command before running it
1 parent bd89e12 commit 15422b3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

workspace_tools/build_travis.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ def run_builds(dry_run):
2525
libs = build.get("libs", [])
2626
if libs:
2727
cmdline = cmdline + " ".join(["--" + l for l in libs])
28-
if dry_run:
29-
print(cmdline)
30-
else:
28+
print "Executing: " + cmdline
29+
if not dry_run:
3130
if os.system(cmdline) != 0:
3231
sys.exit(1)
3332

0 commit comments

Comments
 (0)