Updated TravisCI (asciidoc)
This commit is contained in:
parent
5168b17902
commit
980443f7b4
|
@ -1,6 +1,7 @@
|
||||||
## Building Nim projects on Travis CI
|
## 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.
|
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]
|
[source,yaml]
|
||||||
----
|
----
|
||||||
|
@ -43,7 +44,10 @@ install:
|
||||||
before_script:
|
before_script:
|
||||||
- export PATH="nim-$BRANCH/bin${PATH:+:$PATH}"
|
- export PATH="nim-$BRANCH/bin${PATH:+:$PATH}"
|
||||||
script:
|
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:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- nim-master
|
- nim-master
|
||||||
|
|
Loading…
Reference in New Issue