Skip to content

Commit e981a53

Browse files
committed
trying to fix coverage (codecov doesnt report anything), restoring some lines from travis
1 parent 7d77343 commit e981a53

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,13 @@ install:
3636
conda install -y nipype &&
3737
rm -r /home/travis/miniconda/lib/python${TRAVIS_PYTHON_VERSION}/site-packages/nipype* &&
3838
pip install -r requirements.txt &&
39-
pip install -e .[$NIPYPE_EXTRAS] ;}
39+
pip install -e .[$NIPYPE_EXTRAS] &&
40+
export COVERAGE_PROCESS_START=$(pwd)/.coveragerc &&
41+
export COVERAGE_DATA_FILE=$(pwd)/.coverage &&
42+
echo "data_file = ${COVERAGE_DATA_FILE}" >> ${COVERAGE_PROCESS_START}; }
4043
- travis_retry inst
4144
script:
42-
- py.test --doctest-modules --cov=nipype nipype
45+
- py.test --doctest-modules nipype
4346
deploy:
4447
provider: pypi
4548
user: satra

0 commit comments

Comments
 (0)