2017-12-22 22:35:11 +08:00
|
|
|
language: python
|
|
|
|
|
2018-01-09 01:27:58 +08:00
|
|
|
os: linux
|
2018-01-09 20:00:07 +08:00
|
|
|
dist: trusty # xenial is not yet supported.
|
2018-01-09 20:20:53 +08:00
|
|
|
|
|
|
|
env: TEST="Pylint"
|
|
|
|
python:
|
|
|
|
- "3.5"
|
|
|
|
- "3.6"
|
|
|
|
- "2.7"
|
|
|
|
install:
|
|
|
|
- pip install -r PythonClient/requirements.txt
|
|
|
|
- pip install pylint
|
|
|
|
script:
|
|
|
|
- pylint --disable=R,C --rcfile=PythonClient/.pylintrc PythonClient/carla PythonClient/*.py
|
2018-01-09 01:27:58 +08:00
|
|
|
|
2018-01-09 20:00:07 +08:00
|
|
|
matrix:
|
|
|
|
include:
|
2017-12-22 22:35:11 +08:00
|
|
|
|
2018-01-09 20:00:07 +08:00
|
|
|
- env: TEST="CppCheck"
|
2018-01-09 20:24:33 +08:00
|
|
|
install: true
|
2018-01-09 20:00:07 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- cppcheck
|
|
|
|
script:
|
2018-04-14 23:55:18 +08:00
|
|
|
- cppcheck . -iBuild -i.pb.cc --error-exitcode=1 --enable=warning --inline-suppr --quiet
|
2018-04-17 20:05:50 +08:00
|
|
|
|
|
|
|
- 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
|