Testing ci configurations

This commit is contained in:
nsubiron 2018-01-09 13:20:53 +01:00
parent 0d05d70b5e
commit a7e3fef096
1 changed files with 11 additions and 13 deletions

View File

@ -2,22 +2,21 @@ language: python
os: linux os: linux
dist: trusty # xenial is not yet supported. dist: trusty # xenial is not yet supported.
python: "3.5"
matrix: env: TEST="Pylint"
include:
- env: TEST="Pylint"
python: python:
- "2.7"
- "3.5" - "3.5"
- "3.6" - "3.6"
- "2.7"
install: install:
- pip install -r PythonClient/requirements.txt - pip install -r PythonClient/requirements.txt
- pip install pylint - pip install pylint
script: script:
- pylint --disable=R,C --rcfile=PythonClient/.pylintrc PythonClient/carla PythonClient/*.py - pylint --disable=R,C --rcfile=PythonClient/.pylintrc PythonClient/carla PythonClient/*.py
matrix:
include:
- env: TEST="CppCheck" - env: TEST="CppCheck"
addons: addons:
apt: apt:
@ -25,4 +24,3 @@ matrix:
- cppcheck - cppcheck
script: 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 - 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