docker-pi-hole/tox.ini

15 lines
538 B
INI
Raw Normal View History

2017-10-05 21:24:30 +02:00
[tox]
envlist = py37
2017-10-05 21:24:30 +02:00
[testenv]
2017-10-19 05:24:22 +02:00
whitelist_externals = docker
2017-10-05 21:24:30 +02:00
deps = -rrequirements.txt
# 2 parallel max b/c race condition with docker fixture (I think?)
2017-10-19 05:24:22 +02:00
commands = docker run --rm --privileged multiarch/qemu-user-static:register --reset
./Dockerfile.py -v --arch amd64
pytest -vv -n auto -k amd64 ./test/
./Dockerfile.py -v --arch armhf --arch arm64 --arch armel
pytest -vv -n auto -k arm64 ./test/
pytest -vv -n auto -k armhf ./test/
pytest -vv -n auto -k armel ./test/