Travis-CI: display the build command before running it

pull/106/head
Bogdan Marinescu 2013-11-08 18:21:58 +02:00
parent bd89e121e5
commit 15422b3a67
1 changed files with 2 additions and 3 deletions

View File

@ -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)