Skip to content

Commit 74ba2bc

Browse files
committed
travis: Drop support for Python2
Signed-off-by: Alistair Francis <alistair@alistair23.me>
1 parent 2b6d1de commit 74ba2bc

2 files changed

Lines changed: 2 additions & 20 deletions

File tree

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@ install:
88

99
matrix:
1010
include:
11-
- python: '2.7'
12-
env: TOXENV=check27
1311
- python: '3.6'
1412
env: TOXENV=check36
15-
- python: '2.7'
16-
env: TOXENV=py27
1713
- python: '3.4'
1814
env: TOXENV=py34
1915
- python: '3.5'

tox.ini

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
[tox]
22
envlist =
3-
check{27,36},
4-
py{27,py,34,35,36,37},
3+
check{36},
4+
py{34,35,36,37},
55
coverage
66

7-
87
[testenv]
98
usedevelop = true
109
setenv =
@@ -19,22 +18,9 @@ commands =
1918
rm -vf {toxinidir}/.coverage_{envname}
2019
pytest --cov-report= --cov=obd {posargs}
2120

22-
[testenv:check27]
23-
basepython = python2.7
24-
skipsdist = true
25-
deps =
26-
check-manifest==0.37
27-
flake8==3.7.7
28-
commands =
29-
flake8 {envsitepackagesdir}/obd
30-
python setup.py check --strict --metadata
31-
32-
3321
[testenv:check36]
3422
basepython = python3.6
3523
skipsdist = true
36-
deps = {[testenv:check27]deps}
37-
commands = {[testenv:check27]commands}
3824

3925

4026
[testenv:coverage]

0 commit comments

Comments
 (0)