Skip to content

Commit 8fcffc1

Browse files
committed
enh: adding coveralls
1 parent da9ec40 commit 8fcffc1

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.coveragerc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[run]
2+
branch = True
3+
source = nipype
4+
include = */nipype/*
5+
omit =
6+
*/nipype/externals/*
7+
*/setup.py

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
language: python
21
python:
32
- "2.7"
43
before_install:
@@ -22,10 +21,14 @@ before_install:
2221
- source ~/virtualenv/this/bin/activate
2322
- pip install https://github.com/RDFLib/rdflib/archive/master.zip
2423
- pip install https://github.com/satra/prov/archive/enh/rdf.zip
24+
- pip install coverage
25+
- pip install coveralls
2526
install:
2627
- source ~/virtualenv/this/bin/activate
2728
- python setup.py build_ext --inplace
2829
script:
2930
- source ~/virtualenv/this/bin/activate
3031
- make test
31-
32+
- if [ "${COVERAGE}" == "--with-coverage" ]; then make test-coverage; fi
33+
after_success:
34+
- if [ "${COVERAGE}" == "--with-coverage" ]; then coveralls; fi

0 commit comments

Comments
 (0)