File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # .coveragerc to control coverage
2+
3+ [run]
4+ branch = True
5+
6+ source = .
7+
8+ [html]
9+ directory = htmlcov
Original file line number Diff line number Diff line change 1+ .coverage
2+ shippable /
Original file line number Diff line number Diff line change 77 - 3.3
88 - 3.4
99 - pypy
10-
10+
1111install :
1212 - pip install -r requirements.txt
1313
@@ -17,9 +17,9 @@ before_script:
1717 - mkdir -p shippable/codecoverage
1818
1919script :
20- - nosetests test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml
21- - which python && coverage run --branch test.py
22- - which python && coverage xml -o shippable/codecoverage/coverage.xml test.py
20+ - which python
21+ - coverage run `which nosetests` test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml
22+ - coverage xml -o shippable/codecoverage/coverage.xml
2323
2424notifications :
2525 email :
You can’t perform that action at this time.
0 commit comments