From 1db2b314ab8b63889074ad91e8019ea30a0d18ca Mon Sep 17 00:00:00 2001 From: Daan Hoogland Date: Wed, 10 Feb 2021 12:52:54 +0000 Subject: [PATCH] travis systemvm tests --- systemvm/test/runtests.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/systemvm/test/runtests.sh b/systemvm/test/runtests.sh index e27f5de5919..2f14e25267f 100644 --- a/systemvm/test/runtests.sh +++ b/systemvm/test/runtests.sh @@ -22,8 +22,8 @@ export PYTHONPATH="../debian/opt/cloud/bin/" export PYTHONDONTWRITEBYTECODE=False echo "Running pycodestyle to check systemvm/python code for errors" -python -m pycodestyle --max-line-length=179 *py -python -m pycodestyle --max-line-length=179 --exclude=monitorServices.py,baremetal-vr.py,passwd_server_ip.py `find ../debian -name \*.py` +python3 -m pycodestyle --max-line-length=179 *py +python3 -m pycodestyle --max-line-length=179 --exclude=monitorServices.py,baremetal-vr.py,passwd_server_ip.py `find ../debian -name \*.py` if [ $? -gt 0 ] then echo "pycodestyle failed, please check your code" @@ -31,8 +31,8 @@ then fi echo "Running pylint to check systemvm/python code for errors" -python -m pylint --disable=R,C,W *.py -python -m pylint --disable=R,C,W `find ../debian -name \*.py` +python3 -m pylint --disable=R,C,W *.py +python3 -m pylint --disable=R,C,W `find ../debian -name \*.py` if [ $? -gt 0 ] then echo "pylint failed, please check your code"