Skip to content

Commit 8f4a55c

Browse files
authored
Merge pull request #183 from alistair23/python2
travis: Update the Python versions
2 parents 2b6d1de + c6af7e1 commit 8f4a55c

File tree

2 files changed

+6
-21
lines changed

2 files changed

+6
-21
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@ language: python
22
dist: xenial
33
sudo: false
44

5-
65
install:
76
- pip install tox
87

98
matrix:
109
include:
11-
- python: '2.7'
12-
env: TOXENV=check27
1310
- python: '3.6'
1411
env: TOXENV=check36
15-
- python: '2.7'
16-
env: TOXENV=py27
12+
- python: '3.8'
13+
env: TOXENV=check38
1714
- python: '3.4'
1815
env: TOXENV=py34
1916
- python: '3.5'
@@ -22,6 +19,8 @@ matrix:
2219
env: TOXENV=py36
2320
- python: '3.7'
2421
env: TOXENV=py37
22+
- python: '3.8'
23+
env: TOXENV=py38
2524

2625
script:
2726
- tox

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,38},
4+
py{34,35,36,37,38},
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)