olm/jenkins.sh
Richard van der Hoff 18b067a46f jenkins.sh: Run python bits in a virtualenv
because we may not have pep8 installed at the system level
2017-11-22 16:57:50 +00:00

22 lines
272 B
Bash
Executable file

#!/bin/sh
set -e
make clean
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
. ~/.emsdk_set_env.sh
make js
(cd javascript && npm install && npm run test)
npm pack javascript