carla/.travis.yml

28 lines
665 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 Unreal/CarlaUE4/Source Unreal/CarlaUE4/Plugins/Carla/Source Util/ -iUtil/Build -iUtil/CarlaServer/source/carla/server/carla_server.pb.cc --quiet --error-exitcode=1 --enable=warning