Updated TravisCI (asciidoc)
This commit is contained in:
parent
5168b17902
commit
980443f7b4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue