testament: change how JS tests are disable for travis on OSX

This commit is contained in:
Andreas Rumpf 2018-08-13 12:51:19 +02:00
commit 81645deb87
2 changed files with 5 additions and 3 deletions

View file

@ -12,8 +12,8 @@ import parseutils, strutils, os, osproc, streams, parsecfg
var compilerPrefix* = "compiler" / "nim "
let isTravis = existsEnv("TRAVIS")
let isAppVeyor = existsEnv("APPVEYOR")
let isTravis* = existsEnv("TRAVIS")
let isAppVeyor* = existsEnv("APPVEYOR")
proc cmdTemplate*(): string =
compilerPrefix & "$target --lib:lib --hints:on -d:testing $options $file"