Skip to content

Commit e5103c5

Browse files
committed
Drop python2 support within test suite (tox and travis)
Ref,; #233
1 parent f51b45a commit e5103c5

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ language:
77
- python
88

99
python:
10-
- "2.7"
10+
- "3.7"
1111

1212
services:
1313
- docker

tox.ini

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
# We skip isort because it conflicts with setting GTK version in inports
33
# https://github.com/timothycrosley/isort/issues/295
4-
envlist = py27, py35, docs, flake8, manifest, pep257
4+
envlist = py37, docs, flake8, manifest, pep257
55

66
[testenv]
77
setenv =
@@ -19,10 +19,10 @@ commands =
1919
make coverage
2020

2121
[testenv:docs]
22-
basepython = python2
22+
basepython = python3
2323
# We need access to GTK for autodocs
2424
sitepackages = True
25-
deps = doc8==0.7.0
25+
deps = doc8
2626
commands =
2727
pip install -r requirements/docs.pip
2828
make docs BUILDDIR={envtmpdir} SPHINXOPTS={env:SPHINXOPTS_BUILD:''}
@@ -32,24 +32,22 @@ commands =
3232
[testenv:flake8]
3333
basepython = python3
3434
deps =
35-
flake8==3.2.1
36-
flake8-debugger==1.4.0
37-
flake8-print==2.0.2
38-
pep8-naming==0.4.1
35+
flake8
36+
flake8-debugger
37+
flake8-print
38+
pep8-naming
3939
skip_install = True
4040
commands = flake8 setup.py hamster_gtk/ tests/
4141

4242
[testenv:manifest]
4343
basepython = python3
44-
deps = check-manifest==0.35
44+
deps = check-manifest
4545
skip_install = True
4646
commands =
4747
check-manifest -v
4848

4949
[testenv:pep257]
5050
basepython = python3
5151
skip_install = True
52-
deps =
53-
pep257==0.7.0
54-
commands =
55-
pep257 setup.py hamster_gtk/ tests/
52+
deps = pep257
53+
commands = pep257 setup.py hamster_gtk/ tests/

0 commit comments

Comments
 (0)