Add nimscript test and run it in Travis CI
This commit is contained in:
parent
a8fcc546be
commit
c1c3c4c5d1
2 changed files with 26 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ script:
|
||||||
- ./koch boot
|
- ./koch boot
|
||||||
- ./koch boot -d:release
|
- ./koch boot -d:release
|
||||||
- nim e install_nimble.nims
|
- nim e install_nimble.nims
|
||||||
|
- nim e tests/test_nimscript.nims
|
||||||
- nimble update
|
- nimble update
|
||||||
- nimble install zip
|
- nimble install zip
|
||||||
- nimble install opengl
|
- nimble install opengl
|
||||||
|
|
|
||||||
25
tests/test_nimscript.nims
Executable file
25
tests/test_nimscript.nims
Executable file
|
|
@ -0,0 +1,25 @@
|
||||||
|
# This nimscript is used to test if the following modules can be imported
|
||||||
|
# http://nim-lang.org/docs/nims.html
|
||||||
|
|
||||||
|
import algorithm
|
||||||
|
import base64
|
||||||
|
import colors
|
||||||
|
import hashes
|
||||||
|
import lists
|
||||||
|
import math
|
||||||
|
# import marshal
|
||||||
|
import options
|
||||||
|
import ospaths
|
||||||
|
# import parsecfg
|
||||||
|
# import parseopt
|
||||||
|
import parseutils
|
||||||
|
import pegs
|
||||||
|
import queues
|
||||||
|
import sequtils
|
||||||
|
import strutils
|
||||||
|
import subexes
|
||||||
|
import tables
|
||||||
|
import unicode
|
||||||
|
import uri
|
||||||
|
|
||||||
|
echo "Nimscript imports are successful."
|
||||||
Loading…
Add table
Add a link
Reference in a new issue