Include script call in tox

This commit is contained in:
Adrien Ferrand 2020-06-27 20:56:04 +02:00
parent f17406e364
commit ef00c6ee3b

18
tox.ini
View file

@ -170,9 +170,10 @@ commands =
commands =
docker build -t certbot-compatibility-test -f certbot-compatibility-test/Dockerfile .
docker build -t apache-compat -f certbot-compatibility-test/Dockerfile-apache .
docker run --rm -it apache-compat -c apache.tar.gz -vvvv
script -qec "docker run --rm -it apache-compat -c apache.tar.gz -vvvv"
whitelist_externals =
docker
script
passenv =
DOCKER_*
@ -180,9 +181,10 @@ passenv =
commands =
docker build -t certbot-compatibility-test -f certbot-compatibility-test/Dockerfile .
docker build -t nginx-compat -f certbot-compatibility-test/Dockerfile-nginx .
docker run --rm -it nginx-compat -c nginx.tar.gz -vv -aie
script -qec "docker run --rm -it nginx-compat -c nginx.tar.gz -vv -aie"
whitelist_externals =
docker
script
passenv =
DOCKER_*
@ -191,9 +193,10 @@ passenv =
commands =
python {toxinidir}/tests/modification-check.py
docker build -f letsencrypt-auto-source/Dockerfile.xenial -t lea letsencrypt-auto-source
docker run --rm -t -i lea
script -qec "docker run --rm -it lea"
whitelist_externals =
docker
script
passenv =
DOCKER_*
TRAVIS_BRANCH
@ -203,9 +206,10 @@ passenv =
# readily available on the Wheezy Docker image.
commands =
docker build -f letsencrypt-auto-source/Dockerfile.jessie -t lea letsencrypt-auto-source
docker run --rm -t -i lea
script -qec "docker run --rm -it lea"
whitelist_externals =
docker
script
passenv = DOCKER_*
[testenv:le_auto_centos6]
@ -213,9 +217,10 @@ passenv = DOCKER_*
# readily available on the CentOS 6 Docker image.
commands =
docker build -f letsencrypt-auto-source/Dockerfile.redhat6 --build-arg REDHAT_DIST_FLAVOR=centos -t lea letsencrypt-auto-source
docker run --rm -t -i lea
script -qec "docker run --rm -it lea"
whitelist_externals =
docker
script
passenv = DOCKER_*
[testenv:le_auto_oraclelinux6]
@ -223,9 +228,10 @@ passenv = DOCKER_*
# readily available on the Oracle Linux 6 Docker image.
commands =
docker build -f letsencrypt-auto-source/Dockerfile.redhat6 --build-arg REDHAT_DIST_FLAVOR=oraclelinux -t lea letsencrypt-auto-source
docker run --rm -t -i lea
script -qec "docker run --rm -it lea"
whitelist_externals =
docker
script
passenv = DOCKER_*
[testenv:docker_dev]