diff options
author | Jason Madden <jamadden@gmail.com> | 2017-05-01 16:35:14 -0500 |
---|---|---|
committer | Jason Madden <jamadden@gmail.com> | 2017-05-01 16:43:06 -0500 |
commit | 5954f86733df49920427de4a931b23f8c5db9c95 (patch) | |
tree | d4816cc4a225c052e00de1da46f685d8607e2934 /.travis.yml | |
parent | ceb5981168a9b5b6c07b307cdf7fa11c96bb8fc7 (diff) | |
download | zope-i18nmessageid-5954f86733df49920427de4a931b23f8c5db9c95.tar.gz |
Use C extension in Python 3, and make Python version handle ``default`` the sameissue4
Fixes #4 and fixes #5.
Add a specific test case for both of these things.
Enabling the C extension on Python 3 revealed more places where
readonly attributes can raise different exceptions so fix those tests.
Also add Python 3.6 to the supported list, and use zope.testrunner to
workaround the namespace package issue.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index 4847904..b6b3d84 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,27 @@ language: python sudo: false python: - - 2.7 - - 3.3 - - 3.4 - - 3.5 - - pypy - - pypy3 -install: - - pip install . + - 2.7 + - 3.3 + - 3.4 + - 3.5 + - 3.6 + - pypy-5.4.1 script: - - python setup.py -q test -q + - coverage run -m zope.testrunner --test-path=src --auto-color --auto-progress + +after_success: + - coveralls notifications: - email: false + email: false + +install: + - pip install -U pip setuptools + - pip install -U coveralls coverage zope.testrunner + - pip install -U -e ".[test]" + + +cache: pip + +before_cache: + - rm -f $HOME/.cache/pip/log/debug.log |