Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@ language: python
dist: xenial
sudo: false


install:
- pip install tox

matrix:
include:
- python: '2.7'
env: TOXENV=check27
- python: '3.6'
env: TOXENV=check36
- python: '2.7'
env: TOXENV=py27
- python: '3.8'
env: TOXENV=check38
- python: '3.4'
env: TOXENV=py34
- python: '3.5'
Expand All @@ -22,6 +19,8 @@ matrix:
env: TOXENV=py36
- python: '3.7'
env: TOXENV=py37
- python: '3.8'
env: TOXENV=py38

script:
- tox
Expand Down
18 changes: 2 additions & 16 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[tox]
envlist =
check{27,36},
py{27,py,34,35,36,37},
check{36,38},
py{34,35,36,37,38},
coverage


[testenv]
usedevelop = true
setenv =
Expand All @@ -19,22 +18,9 @@ commands =
rm -vf {toxinidir}/.coverage_{envname}
pytest --cov-report= --cov=obd {posargs}

[testenv:check27]
basepython = python2.7
skipsdist = true
deps =
check-manifest==0.37
flake8==3.7.7
commands =
flake8 {envsitepackagesdir}/obd
python setup.py check --strict --metadata


[testenv:check36]
basepython = python3.6
skipsdist = true
deps = {[testenv:check27]deps}
commands = {[testenv:check27]commands}


[testenv:coverage]
Expand Down