Skip to content

Commit

Permalink
Merge pull request #4 from zopefoundation/resurrection-python3
Browse files Browse the repository at this point in the history
Resurrection python3.
  • Loading branch information
janwijbrand committed Jan 4, 2018
2 parents 4f8d9e0 + 7f64362 commit dffb6e0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 14 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 6 additions & 2 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[buildout]
extends =
https://raw.githubusercontent.com/zopefoundation/groktoolkit/resurrection-python3/grok.cfg
develop = .
parts = interpreter test releaser
extends = https://raw.github.com/zopefoundation/groktoolkit/master/grok.cfg
parts =
interpreter
test
releaser
versions = versions
newest = false

Expand Down
16 changes: 11 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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 dffb6e0

Please sign in to comment.