summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index fbbd700b8..bda27a849 100644
--- a/tox.ini
+++ b/tox.ini
@@ -22,16 +22,17 @@ commands =
[testenv:setupenv]
whitelist_externals = bash
-commands = bash -c tests/setup_docker.sh
+commands = bash -c tests/setup_gate.sh
[testenv:images]
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = find
bash
+ sudo
commands =
find . -type f -name "*.pyc" -delete
bash -c "if [ ! -d .testrepository ]; then testr init; fi"
- testr run ^(test_images).*
+ sudo -g dockerroot testr run ^(test_images).*
[testenv:startenv]
whitelist_externals = bash