jenkins.sh: Run python bits in a virtualenv

because we may not have pep8 installed at the system level
This commit is contained in:
Richard van der Hoff 2017-11-22 16:57:50 +00:00
parent 0fd406cca8
commit 18b067a46f

View file

@ -8,6 +8,11 @@ rm -f olm-*.tgz
make lib make lib
make test make test
virtualenv env
. env/bin/activate
pip install pyyaml
pip install pep8
./python/test_olm.sh ./python/test_olm.sh
pep8 -v python pep8 -v python