1
0
Fork 0

tox: Add dependency checking environment, do not install dependencies

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
merge-requests/323/head
Vasilis Tsiligiannis 2019-01-07 16:08:10 +02:00
parent 877f983075
commit f689d86e50
2 changed files with 10 additions and 0 deletions

View File

@ -46,6 +46,7 @@ test:
before_script:
- pip install tox
script:
- tox -e deps
- tox -e pytest
docker:
stage: deploy

View File

@ -13,7 +13,16 @@ commands = flake8 \
setup.py \
db
[testenv:deps]
install_command = python -m pip install --no-deps {opts} {packages}
recreate = True
deps =
-rrequirements-dev.txt
extras = dev
commands = pip check
[testenv:pytest]
install_command = python -m pip install --no-deps {opts} {packages}
deps =
-rrequirements-dev.txt
usedevelop = True