carla/.travis.yml

43 lines
937 B
YAML
Raw Normal View History

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:
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:
- cppcheck . -iBuild -i.pb.cc --error-exitcode=1 --enable=warning --inline-suppr --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