diff --git a/Jenkinsfile b/Jenkinsfile index 42e0bc0a..28cbf20a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -134,7 +134,7 @@ pipeline { echo "Test coverage" - sh ''' source activate ${BUILD_TAG} + sh ''' export PATH=${VIRTUAL_ENV}/bin:${PATH} coverage run src/bitmessagemain.py -t 1 1 2 3 python -m coverage xml -o coverage.xml ''' diff --git a/requirements.txt b/requirements.txt index 11579ba2..c4803384 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ psutil pycrypto nose radon +coverage