Different way of working with parallel.

This commit is contained in:
Robert de Bock 2019-12-23 20:08:21 +01:00
parent a338aa724d
commit 63be1e7aa0
2 changed files with 9 additions and 5 deletions

View File

@ -100,7 +100,11 @@ jobs:
with:
image: {% raw %}${{ matrix.image }}{% endraw %}
options: parallel
{% if tox_parallel is defined %}
{% if tox_parallel %}
options: "--parallel all"
{% endif %}
{% endif %}
release:
needs:
- test

View File

@ -97,12 +97,12 @@ install:
- pip install tox
script:
{% if travis_parallel is defined %}
{% if not travis_parallel %}
- tox
{% if tox_parallel is defined %}
{% if tox_parallel %}
- tox --parallel all
{% endif %}
{% else %}
- tox --parallel all
- tox
{% endif %}
notifications: