Add travis-ci job for testing the documentation

This commit is contained in:
nsubiron 2018-04-17 14:05:50 +02:00
parent b2bdd96501
commit c3b3d3322f
4 changed files with 19 additions and 2 deletions

1
.gitignore vendored
View File

@ -27,4 +27,5 @@ __pycache__
_benchmarks_results _benchmarks_results
_images* _images*
_out _out
_site
core core

View File

@ -25,3 +25,18 @@ matrix:
- cppcheck - cppcheck
script: script:
- cppcheck . -iBuild -i.pb.cc --error-exitcode=1 --enable=warning --quiet - cppcheck . -iBuild -i.pb.cc --error-exitcode=1 --enable=warning --quiet
- env: TEST="MkDocs"
install:
- pip install mkdocs
script:
- mkdocs build --verbose --clean --strict --site-dir _site
- env: TEST="AwesomeBot"
install:
- gem install awesome_bot
script:
- find . -name '*.md' | xargs awesome_bot --allow-dupe --allow-redirect --skip-save-results
notifications:
email: false

View File

@ -18,7 +18,8 @@
"Intermediate", "Intermediate",
"Saved", "Saved",
"Unreal/CarlaUE4/Content*", "Unreal/CarlaUE4/Content*",
"__pycache__" "__pycache__",
"_site"
], ],
"file_exclude_patterns": "file_exclude_patterns":
[ [

View File

@ -101,7 +101,7 @@ spawned. Note that the blueprint can call back C++ functions, for instance for
getting the random engine. This way there is a back-and-forth communication getting the random engine. This way there is a back-and-forth communication
between C++ code and blueprints. between C++ code and blueprints.
[capturelink]: https://github.com/carla-simulator/carla/blob/master/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/SceneCaptureToDiskCamera.h [capturelink]: https://github.com/carla-simulator/carla/blob/master/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureToDiskCamera.h
#### Coding standard #### Coding standard