From 424f3635dd0f6c9e31f4282b02237be04e4c14e0 Mon Sep 17 00:00:00 2001 From: Jeremy Kolbe Date: Wed, 3 Oct 2018 11:55:35 +0200 Subject: [PATCH 1/2] Added support for Python 3.7 --- .coveragerc | 6 ++++++ .travis.yml | 12 ++++++++++-- CHANGES.txt | 1 + setup.py | 1 + tox.ini | 2 +- 5 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..0d80ac6 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,6 @@ +[run] +branch = True +source = MultiMapping + +[report] +precision = 2 diff --git a/.travis.yml b/.travis.yml index 68a2a09..ac37c8e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,14 +6,22 @@ python: - "3.5" - "3.6" - "pypy" - - "pypy3.3-5.2-alpha1" + - "pypy3" +include: + matrix: + - python: "3.7" + dist: xenial + sudo: true install: + - pip install coveralls coverage - pip install -U setuptools - pip install zc.buildout - buildout bootstrap - buildout script: - - bin/test -v1 + - coverage run bin/test -v1 +after_success: + - coveralls notifications: email: false cache: diff --git a/CHANGES.txt b/CHANGES.txt index 3387b10..6670aee 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,7 @@ Changelog 4.1 (unreleased) ---------------- +- Added support for Python 3.7. 4.0 (2017-05-17) ---------------- diff --git a/setup.py b/setup.py index 4d79e04..0c146ad 100644 --- a/setup.py +++ b/setup.py @@ -35,6 +35,7 @@ "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ], diff --git a/tox.ini b/tox.ini index 1f441c6..2f52c92 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py27,py27-pure,py34,py35,py36,pypy,pypy3,coverage + py27,py27-pure,py34,py35,py36,py37,pypy,pypy3,coverage [testenv] commands = From 18a0eba4e08b63bc642f5cc4329fad2764ac0f9d Mon Sep 17 00:00:00 2001 From: Jeremy Kolbe Date: Wed, 3 Oct 2018 15:07:39 +0200 Subject: [PATCH 2/2] fixed travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ac37c8e..0279d5e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,8 @@ python: - "3.6" - "pypy" - "pypy3" -include: - matrix: +matrix: + include: - python: "3.7" dist: xenial sudo: true