Skip to content

Commit

Permalink
Travis-CI: display the build command before running it
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Marinescu committed Nov 8, 2013
1 parent bd89e12 commit 15422b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions workspace_tools/build_travis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 15422b3

Please sign in to comment.