Skip to content

Commit

Permalink
updated tox.ini to use poetry instead of pip
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed Feb 22, 2020
1 parent 8695500 commit 2a18328
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ skipsdist = true

[testenv]
skip_install = true
install_command =
pip install --pre --no-index -f {toxinidir}/wheelhouse/ {opts} {packages}
commands = py.test {posargs}
deps =
hyperscan
-r tests/requirements.txt
whitelist_externals = poetry
commands =
poetry install -vvv
poetry run pytest {posargs} tests/
basepython =
py35: python3.5
py36: python3.6
Expand All @@ -19,11 +17,9 @@ basepython =
[testenv:docs]
basepython = python3.8
changedir = docs
deps =
hyperscan
-r docs/requirements.txt
commands =
mkdocs build -cv -f {toxinidir}/mkdocs.yml
poetry install -vvv
poetry run mkdocs build -cv -f {toxinidir}/mkdocs.yml

[testenv:python]
basepython = python

0 comments on commit 2a18328

Please sign in to comment.