Skip to content

Commit

Permalink
Merge 524f757 into bf337c0
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed May 25, 2019
2 parents bf337c0 + 524f757 commit 30150dc
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
@@ -1,22 +1,29 @@
language: python
sudo: false
dist: xenial

python:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8-dev
- pypy
- pypy3

matrix:
include:
- python: 3.6
name: "Flake8"
install: pip install -U flake8
script: flake8 --doctests src testproj setup.py
after_success:

script:
- coverage run -m zope.testrunner --test-path=src --auto-color --auto-progress

after_success:
- coveralls

notifications:
email: false

Expand All @@ -25,7 +32,6 @@ install:
- pip install -U coveralls coverage
- pip install -U -e ".[test,zcml,extract]"


cache: pip

before_cache:
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Expand Up @@ -7,6 +7,8 @@ CHANGES

- Flake8 the code.

- Add support for Python 3.7, 3.8a4 and PyPy3.


4.0.1 (2018-06-29)
------------------
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Expand Up @@ -50,6 +50,8 @@ def read(*rnames):
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Natural Language :: English',
Expand Down
16 changes: 13 additions & 3 deletions tox.ini
@@ -1,15 +1,25 @@
[tox]
envlist =
flake8, py27, pypy, py35, py36
flake8, py27, pypy, py35, py36, py37, py38, pypy3, coverage

[testenv]
commands =
zope-testrunner --test-path=src []
deps =
.[test,zcml,extract]
extras =
test
zcml
extract

[testenv:flake8]
basepython = python3.6
skip_install = true
deps = flake8
commands = flake8 --doctests src testproj setup.py

[testenv:coverage]
basepython = python3.6
usedevelop = true
commands =
coverage run -m zope.testrunner --test-path=src []
coverage report --show-missing --fail-under=89
deps = coverage

0 comments on commit 30150dc

Please sign in to comment.