changes in file and environment
This commit is contained in:
parent
80306b9d9d
commit
e6a39fc745
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -135,10 +135,19 @@ pipeline {
|
||||||
|
|
||||||
|
|
||||||
echo "Test coverage"
|
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
|
coverage run src/bitmessagemain.py -t 1 1 2 3
|
||||||
python -m coverage xml -o PyBitmessage/coverage.xml
|
python -m coverage xml -o PyBitmessage/coverage.xml
|
||||||
'''
|
'''
|
||||||
|
|
||||||
echo "Style check"
|
echo "Style check"
|
||||||
sh ''' source activate ${BUILD_TAG}
|
sh ''' source activate ${BUILD_TAG}
|
||||||
pylint PyBitmessage || true
|
pylint PyBitmessage || true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user