Skip to content

Commit

Permalink
update tox config
Browse files Browse the repository at this point in the history
  • Loading branch information
espdev committed May 27, 2020
1 parent c63bbdd commit 283f97e
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,25 @@ basepython = python3

[testenv]
recreate = true
whitelist_externals = poetry
skip_install = true
whitelist_externals = poetry

commands =
poetry install
poetry run pytest tests/ --color=yes {posargs} -v
poetry run pytest tests/ -v --color=yes {posargs}

[testenv:py37-pytest-coverage]
recreate = true
whitelist_externals = poetry
skip_install = true
passenv = TRAVIS TRAVIS_*

commands =
poetry install
poetry run pytest tests/ --cov=skmpe --color=yes {posargs} -v
poetry run pytest tests/ -v --color=yes --cov=skmpe {posargs}
coveralls

[testenv:docs]
whitelist_externals = make
commands =
poetry install
make -C docs/ html
poetry install --no-dev --extras docs
poetry run make -C docs/ html

[testenv:flake8]
deps =
Expand Down

0 comments on commit 283f97e

Please sign in to comment.