aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2018-10-08 12:08:38 -0500
committerGanesh Viswanathan <dev@genotrance.com>2018-10-08 12:08:38 -0500
commitefc04c38cc0b2decff014e084b7854cecc84cb0c (patch)
tree30de090787290a86d02beb390538bdb13a9a8a19 /tests
parente04b40d6a88339f60a7099e1f9c46edc70446ea1 (diff)
downloadnimgen-efc04c38cc0b2decff014e084b7854cecc84cb0c.tar.gz
nimgen-efc04c38cc0b2decff014e084b7854cecc84cb0c.zip
Multi-version CI
Diffstat (limited to 'tests')
-rw-r--r--tests/nimgentest.nims7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/nimgentest.nims b/tests/nimgentest.nims
index 364cbdd..134e94b 100644
--- a/tests/nimgentest.nims
+++ b/tests/nimgentest.nims
@@ -3,12 +3,15 @@ import distros, ospaths, strutils
var
full = true
comps = @["libsvm", "nim7z", "nimarchive", "nimbass", "nimbigwig",
- "nimclipboard", #"nimfastText",
- "nimfuzz", "nimmonocypher",
+ "nimclipboard", "nimfuzz", "nimmonocypher",
"nimnuklear", "nimpcre", "nimrax", "nimssl", "nimssh2",
"nimtess2", "nimzbar"
]
+var nimver = staticExec("nim -v").split("\n")[0].split(" ")[3]
+if nimver >= "0.19.0":
+ comps.add("nimfastText")
+
if detectOs(Windows):
comps.add("nimkerberos")