Skip to content

Commit dc52949

Browse files
committed
Merge pull request buildsample#5 from epicserve/speed_improvements
Fixed tests getting run twice
2 parents bbf732f + 087c930 commit dc52949

3 files changed

Lines changed: 15 additions & 4 deletions

File tree

.coveragerc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# .coveragerc to control coverage
2+
3+
[run]
4+
branch = True
5+
6+
source = .
7+
8+
[html]
9+
directory = htmlcov

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.coverage
2+
shippable/

shippable.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ python:
77
- 3.3
88
- 3.4
99
- pypy
10-
10+
1111
install:
1212
- pip install -r requirements.txt
1313

@@ -17,9 +17,9 @@ before_script:
1717
- mkdir -p shippable/codecoverage
1818

1919
script:
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

2424
notifications:
2525
email:

0 commit comments

Comments
 (0)