aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard van der Hoff <[email protected]>2017-11-22 16:57:50 +0000
committerRichard van der Hoff <[email protected]>2017-11-22 16:57:50 +0000
commit18b067a46f575299a80349d2a5dce74b7dad88de (patch)
treea65193969be1d7aba957ea103e9bfa9eba3722be
parent0fd406cca825c6b93fdd854551e53b26fc33028a (diff)
downloadolm-18b067a46f575299a80349d2a5dce74b7dad88de.tar.gz
olm-18b067a46f575299a80349d2a5dce74b7dad88de.tar.bz2
olm-18b067a46f575299a80349d2a5dce74b7dad88de.zip
jenkins.sh: Run python bits in a virtualenv
because we may not have pep8 installed at the system level
-rwxr-xr-xjenkins.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/jenkins.sh b/jenkins.sh
index 5771066..d8c66bc 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -8,6 +8,11 @@ rm -f olm-*.tgz
make lib
make test
+virtualenv env
+. env/bin/activate
+pip install pyyaml
+pip install pep8
+
./python/test_olm.sh
pep8 -v python