Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Badges - Enable coveralls - Standard coverage and travis setup for caching, current pypy3 versions, etc. - We don't yet have 100% coverage.
- Loading branch information
Showing
9 changed files
with
98 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[run] | ||
source = zope.datetime | ||
|
||
[report] | ||
precision = 2 | ||
exclude_lines = | ||
pragma: no cover | ||
if __name__ == '__main__': | ||
raise NotImplementedError | ||
self.fail | ||
raise AssertionError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
.coverage | ||
coverage.xml | ||
nosetests.xml | ||
htmlcov/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
include *.txt | ||
include *.py | ||
include *.rst | ||
include buildout.cfg | ||
include tox.ini | ||
include .travis.yml | ||
include .coveragerc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
``zope.datetime`` | ||
================= | ||
=================== | ||
``zope.datetime`` | ||
=================== | ||
|
||
.. image:: https://img.shields.io/pypi/v/zope.datetime.svg | ||
:target: https://pypi.python.org/pypi/zope.datetime/ | ||
:alt: Latest release | ||
|
||
.. image:: https://img.shields.io/pypi/pyversions/zope.datetime.svg | ||
:target: https://pypi.org/project/zope.datetime/ | ||
:alt: Supported Python versions | ||
|
||
.. image:: https://travis-ci.org/zopefoundation/zope.datetime.png?branch=master | ||
:target: https://travis-ci.org/zopefoundation/zope.datetime | ||
|
||
.. image:: https://coveralls.io/repos/github/zopefoundation/zope.datetime/badge.svg?branch=master | ||
:target: https://coveralls.io/github/zopefoundation/zope.datetime?branch=master | ||
|
||
Commonly used date and time related utility functions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[bdist_wheel] | ||
universal = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
[tox] | ||
envlist = py27,py33,py34,py35,pypy,pypy3,coverage | ||
envlist = | ||
py27,py34,py35,py36,pypy,pypy3,coverage | ||
|
||
[testenv] | ||
commands = python setup.py -q test -q | ||
commands = | ||
zope-testrunner --test-path=src [] | ||
deps = | ||
.[test] | ||
|
||
[testenv:coverage] | ||
usedevelop = true | ||
basepython = | ||
python2.7 | ||
commands = | ||
nosetests --with-xunit --with-xcoverage | ||
coverage run -m zope.testrunner --test-path=src | ||
coverage report #--fail-under=100 | ||
deps = | ||
nose | ||
{[testenv]deps} | ||
coverage | ||
nosexcover |