Skip to content

Commit 974ce46

Browse files
committed
Updates coverage files
1 parent 0eef5da commit 974ce46

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[run]
2+
omit = pendulum/lang/*,pendulum/_compat.py,pendulum/version.py

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ pip-log.txt
1313

1414
# Unit test / coverage reports
1515
.coverage
16-
.coveragerc
1716
.tox
1817
nosetests.xml
1918

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ before_install:
1010
install:
1111
- pip install -r tests-requirements.txt
1212

13-
script: py.test --cov=pendulum tests/
13+
script: py.test --cov=pendulum --cov-config=.coveragerc tests/
1414

1515
after_success:
1616
- codecov

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ setup: setup-python
1919

2020
# test your application (tests in the tests/ directory)
2121
test:
22-
@py.test tests -sq
22+
@py.test --cov=pendulum --cov-config .coveragerc tests/ -sq
2323

2424
# run tests against all supported python versions
2525
tox:

0 commit comments

Comments
 (0)