Skip to content

Commit

Permalink
ci: Remove EOLed Python versions, update toxtest.sh to latest releases (
Browse files Browse the repository at this point in the history
#53)

* ci: Remove EOLed Python versions, update toxtest.sh to latest releases

Per https://devguide.python.org, Python 3.4 was just EOL'ed
a few days ago. We could consider also dropping the 2.7 line,
but at least for now Suitcase still supports 2.7.

docs: Update the list of Python version we claim to support

The library should work on any 3.x version,
but we currently only explicitly test on these
(and PyPy).
  • Loading branch information
mikewadsten committed Mar 21, 2019
1 parent 6d30405 commit 30b9a17
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Expand Up @@ -3,13 +3,14 @@ language: python
# this version of python is only used to run tox - the version specified by TOX_ENV
# is used to install and run tests
python: 3.5
env:
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=py35
- TOX_ENV=pypy
- TOX_ENV=coverage

matrix:
include:
- env: TOX_ENV=py27
- env: TOX_ENV=py35
- env: TOX_ENV=pypy3
python: pypy3.5
- env: TOX_ENV=coverage

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
Expand Down
5 changes: 2 additions & 3 deletions docs/getting_started.rst
Expand Up @@ -16,9 +16,8 @@ by Suitcase.
The library is tested to work on the following python versions:

* Python 2.7
* Python 3.2
* Python 3.3
* Python 3.4
* Python 3.5
* Python 3.7

Data Modeling
-------------
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py32,py33,py34,py35,pypy,pypy3
envlist = py27,py35,py37,pypy,pypy3

[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
Expand Down
11 changes: 5 additions & 6 deletions toxtest.sh
Expand Up @@ -6,12 +6,11 @@
# testing using each of those interpreters.
#

pyversions=(2.7.10
3.3.5
3.4.3
3.5.2
pypy-5.3.1
pypy3-5.2)
pyversions=(2.7.16
3.5.6
3.7.2
pypy2.7-7.0.0
pypy3.6-7.0.0)

# parse options
for i in "$@"
Expand Down

0 comments on commit 30b9a17

Please sign in to comment.