mirror of https://github.com/ARMmbed/mbed-os.git
Travis-CI: display the build command before running it
parent
bd89e121e5
commit
15422b3a67
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue