Testing ci configurations
This commit is contained in:
parent
c5cbee9194
commit
0d05d70b5e
18
.travis.yml
18
.travis.yml
|
@ -1,16 +1,28 @@
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
os: linux
|
os: linux
|
||||||
dist: xenial
|
dist: trusty # xenial is not yet supported.
|
||||||
|
python: "3.5"
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
|
||||||
|
- env: TEST="Pylint"
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
- "3.5"
|
- "3.5"
|
||||||
- "3.6"
|
- "3.6"
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue