Use yaml anchors and references to not repeat full job in allow_failures

This commit is contained in:
Yannick Jadoul
2020-03-09 21:03:15 +01:00
parent 34f8427aab
commit ce85c8730d
+3 -7
View File
@@ -34,7 +34,8 @@ jobs:
env:
- PYTHON=C:\\Python35\\python
- name: Linux | s390x | Python 3.5
- &linux_s390x_35
name: Linux | s390x | Python 3.5
language: python
python: 3.5
services: docker
@@ -43,12 +44,7 @@ jobs:
allow_failures:
# must repeat the s390x job above exactly to match
- name: Linux | s390x | Python 3.5
language: python
python: 3.5
services: docker
arch: s390x
env: PYTHON=python
- *linux_s390x_35
install: $PYTHON -m pip install -r requirements-dev.txt