Skip to content

Commit

Permalink
Merge pull request #114 from michael-k/modern-python
Browse files Browse the repository at this point in the history
Run tests against Python 3.5 and 3.6; drop 2.6 left overs
  • Loading branch information
aboSamoor committed Aug 7, 2017
2 parents 47a39e7 + 787f05b commit a0cd932
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ dist: trusty
language: python

python:
- "3.6"
- "3.5"
- "3.4"
- "2.7"
# - "pypy"
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 2.6, 2.7, and 3.3, 3.4, and for PyPy. Check
3. The pull request should work for Python 2.7, and 3.4+, and for PyPy. Check
https://travis-ci.org/aboSamoor/polyglot/pull_requests
and make sure that the tests pass for all supported Python versions.

Expand All @@ -108,4 +108,4 @@ Tips

To run a subset of tests::

$ python -m unittest tests.test_polyglot
$ python -m unittest tests.test_polyglot
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Text Processing :: Linguistic',
],
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 = py26, py27, py33, py34
envlist = py27, py34, py35, py36

[testenv]
setenv =
Expand Down

0 comments on commit a0cd932

Please sign in to comment.