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", []) libs = build.get("libs", [])
if libs: if libs:
cmdline = cmdline + " ".join(["--" + l for l in libs]) cmdline = cmdline + " ".join(["--" + l for l in libs])
if dry_run: print "Executing: " + cmdline
print(cmdline) if not dry_run:
else:
if os.system(cmdline) != 0: if os.system(cmdline) != 0:
sys.exit(1) sys.exit(1)