Skip to content

Commit

Permalink
Modernize .travis.yml and fix the list of suppored Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Apr 25, 2019
1 parent 1d0878d commit 5be6a40
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 11 deletions.
20 changes: 12 additions & 8 deletions .travis.yml
@@ -1,12 +1,16 @@
language: python
sudo: false
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
dist: xenial
python:
- 2.7
- 3.5
- 3.6
- 3.7
install:
- travis_retry pip install tox
- pip install zope.testrunner coverage coveralls
script:
- tox
- coverage run -m zope.testrunner --test-path=src --auto-color --auto-progress
- coverage report
after_success:
- coveralls
notifications:
email: false
email: false
4 changes: 3 additions & 1 deletion CHANGES.rst
Expand Up @@ -4,7 +4,9 @@ Change History
1.0.1 (unreleased)
~~~~~~~~~~~~~~~~~~

- Nothing changed yet.
- Add support for Python 3.6, 3.7.

- Dropped Python 2.6 and 3.3 from Travis CI.


1.0.0 (2017-01-04)
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Expand Up @@ -56,11 +56,13 @@ def read_file(filename):
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development'
'Topic :: Software Development',
],
packages=find_packages('src'),
package_dir = {'': 'src'},
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist = coverage-clean, py27, py35, coverage-report
envlist = coverage-clean, py27, py35, py36, py37, coverage-report

[testenv]
commands =
Expand Down

0 comments on commit 5be6a40

Please sign in to comment.