Show live output for compilation to diagnose travis problem.

This commit is contained in:
Dominik Picheta 2017-09-20 23:43:25 +01:00
parent 2301861e2a
commit 9731196bb7
3 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
when defined(macosx):
--define:curl
--define:ssl
--define:ssl

View file

@ -103,6 +103,7 @@ proc loadAnalytics*(params: CliParams) =
priority=LowPriority)
return
# TODO: Change this to the proper UA code.
params.analytics = newAnalytics("UA-105812497-2", clientID, "choosenim",
chooseNimVersion)

View file

@ -100,7 +100,7 @@ proc hasLine(lines: seq[string], line: string): bool =
test "can compile choosenim":
cd "..":
let (_, exitCode) = exec("build", exe="nimble", global=true)
let (_, exitCode) = exec("build", exe="nimble", global=true, liveOutput=true)
check exitCode == QuitSuccess
test "refuses invalid path":