Skip to content

Commit a096f0f

Browse files
committed
Run tests again on Python 2.6, 3.2, and 3.3
1 parent 399d059 commit a096f0f

File tree

3 files changed

+35
-5
lines changed

3 files changed

+35
-5
lines changed

.travis.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,26 @@ python:
1010
- "pypy"
1111
- "pypy3"
1212

13+
env:
14+
global:
15+
- DEPS=tox-travis
16+
- LEGACY_DEPS="virtualenv<14 pluggy<0.6 tox<3 tox-travis<0.11"
17+
18+
matrix:
19+
include:
20+
- python: 2.6
21+
dist: trusty
22+
- python: 3.2
23+
dist: trusty
24+
env:
25+
- DEPS="$LEGACY_DEPS"
26+
- python: 3.3
27+
dist: trusty
28+
env:
29+
- DEPS="$LEGACY_DEPS"
30+
1331
install:
14-
- pip install tox-travis
32+
- pip install $DEPS
1533

1634
script:
1735
- tox

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Pypi Entry](https://badge.fury.io/py/goto-statement.svg)](https://pypi.python.org/pypi/goto-statement)
55

66
A function decorator to use `goto` in Python.
7-
Tested on Python 2.7 through 3.7 and PyPy.
7+
Tested on Python 2.6 through 3.7 and PyPy.
88

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

tox.ini

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
[tox]
2-
envlist=py27,py34,py35,py36,py37,pypy,pypy3
2+
envlist = py26,py27,py32,py33,py34,py35,py36,py37,pypy,pypy3
3+
skip_missing_interpreters = true
34

45
[testenv]
5-
deps=pytest
6-
commands=py.test
6+
deps = pytest
7+
commands = py.test
8+
9+
[legacy]
10+
deps =
11+
py<1.5
12+
pytest<3
13+
14+
[testenv:py32]
15+
deps = {[legacy]deps}
16+
17+
[testenv:py33]
18+
deps = {[legacy]deps}

0 commit comments

Comments
 (0)