Skip to content

Commit

Permalink
chore(compatibility): begin matrix testing against py37 (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKevJames authored Sep 5, 2018
1 parent 4cbbfcd commit 023d474
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ jobs:
- run: pip install tox
- run: tox -e "py36-cov41-{default,pyyaml}"

test-py37:
docker:
- image: python:3.7-alpine
steps:
- run: apk add --no-cache git openssh-client
- checkout
- run: pip install tox
- run: tox -e "py37-cov41-{default,pyyaml}"

test-pypy2-5:
docker:
- image: pypy:2-5.8.0
Expand Down Expand Up @@ -86,6 +95,7 @@ workflows:
- test-py34
- test-py35
- test-py36
- test-py37
- test-pypy2-5
- test-pypy2-6
- test-pypy3-5
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ matrix:
include:
- python: 3.6
env: $COVPYYAML=cov41-pyyaml,coveralls41
- python: 3.7
dist: xenial # https://github.com/travis-ci/travis-ci/issues/9815
sudo: true
env: $COVPYYAML=cov41-pyyaml,coveralls41
install:
- pip install tox
script:
Expand Down
6 changes: 0 additions & 6 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ To create a new PyPI release, do the following:
1. Build the sources (``python setup.py sdist bdist_wheel``).
2. Register & upload the sources. (``twine upload dist/*``).

NOTE: in the future, we may want to expand this to include other sources, such as eggs for various Python versions. Since we already test with :code:`tox`, this could be as simple as::

.tox/py34/bin/python setup.py bdist_egg
.tox/py35/bin/python setup.py bdist_egg
# etc

To create a new Conda Forge release, do the following:

1. Fork `coveralls-feedstock`_.
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,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',
],
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{27,34,35,py,py3}-cov{3,4,41}-{default,pyyaml},py36-cov41-{default,pyyaml}
envlist = py{27,34,35,py,py3}-cov{3,4,41}-{default,pyyaml},py{36,37}-cov41-{default,pyyaml}

[testenv]
passenv = *
Expand Down

0 comments on commit 023d474

Please sign in to comment.