Updated TravisCI (asciidoc)

This commit is contained in:
Federico Ceratto 2015-11-28 17:38:24 +00:00
parent 5168b17902
commit 980443f7b4
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,7 @@
## Building Nim projects on Travis CI
Building your code on Travis CI is useful to check regressions against the master and devel branches of Nim.
Same for your code documentation.
[source,yaml]
----
@ -43,7 +44,10 @@ install:
before_script:
- export PATH="nim-$BRANCH/bin${PATH:+:$PATH}"
script:
- nim c --cc:$CC --verbosity:0 -r my_test_file.nim # Replace this
# Replace uppercase strings!
- nim c --cc:$CC --verbosity:0 -r MYFILE.nim
# Optional: build docs.
- nim doc --docSeeSrcUrl:https://github.com/AUTHOR/MYPROJECT/blob/master --project MYFILE.nim
cache:
directories:
- nim-master