Skip to content

Commit

Permalink
Run tests again on Python 2.6, 3.2, and 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
snoack committed Dec 14, 2019
1 parent 399d059 commit a096f0f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
20 changes: 19 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,26 @@ python:
- "pypy"
- "pypy3"

env:
global:
- DEPS=tox-travis
- LEGACY_DEPS="virtualenv<14 pluggy<0.6 tox<3 tox-travis<0.11"

matrix:
include:
- python: 2.6
dist: trusty
- python: 3.2
dist: trusty
env:
- DEPS="$LEGACY_DEPS"
- python: 3.3
dist: trusty
env:
- DEPS="$LEGACY_DEPS"

install:
- pip install tox-travis
- pip install $DEPS

script:
- tox
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Pypi Entry](https://badge.fury.io/py/goto-statement.svg)](https://pypi.python.org/pypi/goto-statement)

A function decorator to use `goto` in Python.
Tested on Python 2.7 through 3.7 and PyPy.
Tested on Python 2.6 through 3.7 and PyPy.

[![](https://imgs.xkcd.com/comics/goto.png)](https://xkcd.com/292/)

Expand Down
18 changes: 15 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
[tox]
envlist=py27,py34,py35,py36,py37,pypy,pypy3
envlist = py26,py27,py32,py33,py34,py35,py36,py37,pypy,pypy3
skip_missing_interpreters = true

[testenv]
deps=pytest
commands=py.test
deps = pytest
commands = py.test

[legacy]
deps =
py<1.5
pytest<3

[testenv:py32]
deps = {[legacy]deps}

[testenv:py33]
deps = {[legacy]deps}

0 comments on commit a096f0f

Please sign in to comment.