Skip to content

Commit

Permalink
Issue #44 update tox
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed Jul 27, 2022
1 parent 9bb0328 commit fd301f6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py36,lint
envlist = py37,lint
skipsdist = True
requires = setuptools >= 47.1

[travis]
python =
3.6: py36, docs, lint
3.7: py37, docs, lint

[testenv]
deps=-rrequirements-dev.txt
Expand All @@ -17,23 +18,23 @@ commands = coverage erase
coverage report -m

[testenv:lint]
basepython=python3.6
basepython=python3.7
deps={[testenv]deps}
commands=pylint --rcfile=tests/pylintrc sksurgerytf

[testenv:docs]
basepython=python3.6
basepython=python3.7
changedir=docs
deps={[testenv]deps}
commands = sphinx-build -M html . build

[testenv:installer]
basepython=python3.6
basepython=python3.7
deps={[testenv]deps}
commands=pyinstaller --onefile sksurgeryfashion.py --noconfirm --windowed

[testenv:pip3]
basepython=python3.6
basepython=python3.7
changedir=pip_test
skip_install=True
commands = pip install {posargs}
Expand Down

0 comments on commit fd301f6

Please sign in to comment.