Merge "Use ubuntu1604 nodes for csit jenkins jobs"
[ci-management.git] / jjb / csit / include-raw-csit-pylint.sh
index 272e5fa..2987e5e 100644 (file)
@@ -2,8 +2,6 @@
 
 set -x
 
-sudo apt-get install -y --force-yes pylint
-
 # Re-create virtual environment
 rm -rf env || true
 virtualenv env
@@ -11,6 +9,7 @@ virtualenv env
 
 # Install requirements, so all CSIT python dependencies are met
 pip install -r requirements.txt
+pip install pylint==1.5.4
 
 # Run pylint, but hide its' return value until python warnings are cleared
 PYTHONPATH=`pwd` pylint --rcfile=pylint.cfg resources/ > pylint.log || true