From ce85c8730dc6dbd02d45474884cf86da0059005c Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Mon, 9 Mar 2020 20:53:48 +0100 Subject: [PATCH] Use yaml anchors and references to not repeat full job in allow_failures --- .travis.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 02b90836..4ad0022c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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