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-01-17 00:43:07 +08:00
|
|
|
- cppcheck . -iBuild -i.pb.cc --error-exitcode=1 --enable=warning --quiet
|