Fixing python version

This commit is contained in:
bernat 2020-09-16 15:57:43 +02:00
parent fd611b2e33
commit 3e76783217
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -127,7 +127,7 @@ pipeline
unstash name: 'ubuntu_examples'
sh 'tar -xvzf Dist/CARLA*.tar.gz -C Dist/'
sh 'DISPLAY= ./Dist/CarlaUE4.sh -opengl --carla-rpc-port=3654 --carla-streaming-port=0 -nosound > CarlaUE4.log &'
sh 'make smoke_tests ARGS="--xml"'
sh 'make smoke_tests ARGS="--xml --python-version=3.7"'
sh 'make run-examples ARGS="localhost 3654"'
}
post

View File

@ -197,7 +197,7 @@ popd >/dev/null
if ${SMOKE_TESTS} ; then
pushd "${CARLA_PYTHONAPI_ROOT_FOLDER}/util" >/dev/null
log "Checking connection with the simulator."
python${PY_VERSION} test_connection.py -p 3654 --timeout=60.0
/usr/bin/env python${PY_VERSION} test_connection.py -p 3654 --timeout=60.0
popd >/dev/null
fi