laforge has uploaded this change for review.

View Change

contrib/jenkins.sh: Install dependencies before calling pylint

This is the only way we can make sure pylint has all required
information about imports from packages we depend upon.

Change-Id: I29582aa3d7f9ace9ce832d5b907420aaf14881fb
---
M contrib/jenkins.sh
1 file changed, 6 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/66/37966/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 3dabdd7..5a6cd43 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -48,6 +48,12 @@
"pylint")
# Print pylint version
pip3 freeze | grep pylint
+
+ virtualenv -p python3 venv --system-site-packages
+ . venv/bin/activate
+
+ pip install .
+
# Run pylint to find potential errors
# Ignore E1102: not-callable
# pySim/filesystem.py: E1102: method is not callable (not-callable)

To view, visit change 37966. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I29582aa3d7f9ace9ce832d5b907420aaf14881fb
Gerrit-Change-Number: 37966
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge@osmocom.org>