Skip to content

Commit b9dae29

Browse files
dependencies update
1 parent 392f62d commit b9dae29

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

systemvm/test/runtests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
export PYTHONPATH="../debian/opt/cloud/bin/"
2222
export PYTHONDONTWRITEBYTECODE=False
2323

24-
echo "Running pep8 to check systemvm/python code for errors"
25-
pep8 --max-line-length=179 *py
26-
pep8 --max-line-length=179 --exclude=monitorServices.py,baremetal-vr.py,passwd_server_ip.py `find ../debian -name \*.py`
24+
echo "Running pycodestyle to check systemvm/python code for errors"
25+
pycodestyle --max-line-length=179 *py
26+
pycodestyle --max-line-length=179 --exclude=monitorServices.py,baremetal-vr.py,passwd_server_ip.py `find ../debian -name \*.py`
2727
if [ $? -gt 0 ]
2828
then
2929
echo "Pylint failed, please check your code"

tools/travis/before_install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#
2323

2424
echo -e "#### System Information ####"
25+
echo -e "\nO.S. information:"
26+
echo $(uname -a)
2527

2628
echo -e "\nWho am I:"
2729
whoami
@@ -100,7 +102,7 @@ pip install --user --upgrade pip
100102

101103
for ((i=0;i<$RETRY_COUNT;i++))
102104
do
103-
pip install --user --upgrade lxml paramiko nose texttable ipmisim pyopenssl mock flask netaddr pylint pep8 > /tmp/piplog
105+
pip install --user --upgrade lxml paramiko nose texttable ipmisim pyopenssl mock flask netaddr pylint pycodestyle six astroid > /tmp/piplog
104106
if [[ $? -eq 0 ]]; then
105107
echo -e "\npython packages installed successfully"
106108
break;
@@ -109,3 +111,5 @@ do
109111
cat /tmp/piplog
110112
done
111113

114+
echo -e "\nVersion of pip troublesome packages:\n"
115+
echo $(pip freeze | grep -e six -e mock -e astroid -e enum34)

0 commit comments

Comments
 (0)