diff options
author | Jason Madden <jamadden@gmail.com> | 2017-12-16 07:40:29 -0600 |
---|---|---|
committer | Jason Madden <jamadden@gmail.com> | 2017-12-16 07:40:29 -0600 |
commit | 89927bff938e8d11cd7c8acd705e8ebef43b6b1c (patch) | |
tree | 8373c827aa50a555ab210d183ee10f80f0884db8 /.travis.yml | |
parent | e924eea24f6d9b635a4b3370d90bb1ce7869b944 (diff) | |
download | zope-i18n-89927bff938e8d11cd7c8acd705e8ebef43b6b1c.tar.gz |
Remove _compat module and _u function in favor of native unicode literals and project gardeningdrop-33
- DRY with dependencies
- Enable coveralls.io and add a coverage tox environment
- A few tiny changes to increase coverage, but we're not at 100%
- Enable testing sphinx docs for all versions
- Publish CHANGES.rst on RTD
- Modern tox.ini and .travis.yml
- Travis was still testing 3.3 and not testing 3.6.
- Remove 'level' qualifiers from XML parsing and ZCML test cases.
They add about 2s to run the tests, but they're important; see #13.
That extra time gets lost in the amount of time it takes to spin
tox anyway.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index 37c5317..e770bda 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,21 @@ language: python sudo: false python: - - 2.7 - - 3.3 - - 3.4 - - 3.5 - - pypy - - pypy3 + - 2.7 + - 3.4 + - 3.5 + - 3.6 + - pypy + - pypy3 install: - - pip install tox-travis + - pip install -U pip setuptools + - pip install -U coverage coveralls + - pip install -U -e .[test,docs] script: - - tox + - coverage run -m zope.testrunner --test-path=src + - coverage run -a -m sphinx -b doctest -d docs/_build/doctrees docs docs/_build/doctest +after_success: + - coveralls notifications: email: false +cache: pip |