Skip to content

Commit

Permalink
configre python 3.6 support for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
janwijbrand committed Jan 4, 2018
1 parent 3bef0a2 commit 7f64362
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
@@ -1,14 +1,19 @@
language: python
python:
- 2.7
- 3.4
- 3.5
sudo: false
env:
- TOXENV=py27
- TOXENV=py34
- TOXENV=py35
- 3.6
- pypy
- pypy3
install:
- pip install tox
- pip install -U pip setuptools
- pip install -U zope.testrunner coverage coveralls
- pip install -U -e .[test]
script:
- tox
- coverage run -m zope.testrunner --test-path=src
after_success:
- coveralls
notifications:
email: false
cache: pip
16 changes: 11 additions & 5 deletions tox.ini
@@ -1,12 +1,18 @@
[tox]
envlist = coverage-clean, py27, py34, py35, coverage-report
envlist =
py27,
py34,
py35,
py36,
pypy,
pypy3

[testenv]
commands =
coverage run setup.py test
setenv =
COVERAGE_FILE=.coverage.{envname}
coverage run -m zope.testrunner --test-path=src {posargs:-vc}
deps =
.[test]
zope.testrunner
coverage

[testenv:coverage-clean]
Expand All @@ -25,4 +31,4 @@ commands =
coverage combine
coverage report
coverage html
coverage xml
coverage xml

0 comments on commit 7f64362

Please sign in to comment.