2018-07-12 06:23:32 +02:00
|
|
|
[tox]
|
2020-07-28 20:07:50 +02:00
|
|
|
envlist = py37
|
2018-07-12 06:23:32 +02:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
whitelist_externals = docker
|
|
|
|
deps = -rrequirements.txt
|
|
|
|
commands = docker build -f test/debian.Dockerfile -t pytest_pihole:debian .
|
2020-03-17 22:23:41 +01:00
|
|
|
docker build -f test/debian_9.Dockerfile -t pytest_pihole:debian_9 .
|
|
|
|
docker build -f test/debian_10.Dockerfile -t pytest_pihole:debian_10 .
|
2020-08-08 19:15:49 +02:00
|
|
|
docker build -f test/centos7.Dockerfile -t pytest_pihole:centos7 .
|
2018-07-12 06:23:32 +02:00
|
|
|
docker build -f test/centos.Dockerfile -t pytest_pihole:centos .
|
|
|
|
docker build -f test/fedora.Dockerfile -t pytest_pihole:fedora .
|
2020-03-17 22:23:41 +01:00
|
|
|
docker build -f test/fedora_28.Dockerfile -t pytest_pihole:fedora_28 .
|
|
|
|
docker build -f test/fedora_29.Dockerfile -t pytest_pihole:fedora_29 .
|
|
|
|
docker build -f test/ubuntu_16.Dockerfile -t pytest_pihole:ubuntu_16 .
|
|
|
|
docker build -f test/ubuntu_18.Dockerfile -t pytest_pihole:ubuntu_18 .
|
2018-07-12 06:23:32 +02:00
|
|
|
pytest {posargs:-vv -n auto} -m "not build_stage" ./test/
|