changes in file and environment

This commit is contained in:
shikhar.s 2019-08-28 20:08:59 +05:30
parent 80306b9d9d
commit e6a39fc745
1 changed files with 10 additions and 1 deletions

11
Jenkinsfile vendored
View File

@ -135,10 +135,19 @@ pipeline {
echo "Test coverage"
sh ''' pip install coverage
sh '''
echo ${SHELL}
[ -d venv ] && rm -rf venv
#virtualenv --python=python2.7 venv
virtualenv venv
#. venv/bin/activate
export PATH=${VIRTUAL_ENV}/bin:${PATH}
python setup.py install
pip install coverage
coverage run src/bitmessagemain.py -t 1 1 2 3
python -m coverage xml -o PyBitmessage/coverage.xml
'''
echo "Style check"
sh ''' source activate ${BUILD_TAG}
pylint PyBitmessage || true