skip tester html on travis/appveyor

This commit is contained in:
Aman Gupta 2015-10-07 16:45:48 -07:00
commit 6457e8f56e

View file

@ -342,7 +342,8 @@ proc tests(args: string) =
exec "nim c --lib:lib -d:release --opt:speed compiler/nim.nim" exec "nim c --lib:lib -d:release --opt:speed compiler/nim.nim"
let tester = quoteShell(getCurrentDir() / "tests/testament/tester".exe) let tester = quoteShell(getCurrentDir() / "tests/testament/tester".exe)
let success = tryExec tester & " " & (args|"all") let success = tryExec tester & " " & (args|"all")
exec tester & " html" if not existsEnv("TRAVIS") and not existsEnv("APPVEYOR"):
exec tester & " html"
if not success: if not success:
quit("tests failed", QuitFailure) quit("tests failed", QuitFailure)