mirror of https://github.com/apache/cloudstack.git
travis systemvm tests
This commit is contained in:
parent
d1400b531c
commit
1db2b314ab
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue