From 22c53ecdf26ec4678cf85660fd925869ca35c7d8 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Wed, 25 Dec 2019 14:58:47 +0100 Subject: [PATCH] Different logic for roles that have not set tox_parallel. --- templates/travis.yml.j2 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/travis.yml.j2 b/templates/travis.yml.j2 index 5b07a4d..d9a7db7 100644 --- a/templates/travis.yml.j2 +++ b/templates/travis.yml.j2 @@ -97,10 +97,8 @@ install: - pip install tox script: -{% if tox_parallel is defined %} -{% if tox_parallel %} +{% if tox_parallel is defined and tox_parallel %} - tox --parallel all -{% endif %} {% else %} - tox {% endif %}