From 0d05d70b5e54150ce32c1be5bdc1ecbac30dca74 Mon Sep 17 00:00:00 2001 From: nsubiron Date: Tue, 9 Jan 2018 13:00:07 +0100 Subject: [PATCH] Testing ci configurations --- .travis.yml | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 664e105a1..161e7ce28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,28 @@ language: python os: linux -dist: xenial +dist: trusty # xenial is not yet supported. +python: "3.5" -python: - - "2.7" - - "3.5" - - "3.6" +matrix: + include: -install: - - pip install -r PythonClient/requirements.txt - - pip install pylint + - env: TEST="Pylint" + python: + - "2.7" + - "3.5" + - "3.6" + install: + - pip install -r PythonClient/requirements.txt + - pip install pylint + script: + - pylint --disable=R,C --rcfile=PythonClient/.pylintrc PythonClient/carla PythonClient/*.py + + - env: TEST="CppCheck" + 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 -script: - - pylint --disable=R,C --rcfile=PythonClient/.pylintrc PythonClient/carla PythonClient/*.py