From 64ae3bb7274fa14f093912b4f479e501fd9ac25e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Fri, 4 Oct 2019 01:11:22 +0200 Subject: [PATCH] travis: run check_fc_files linter with python 3.7 --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2b4699d09..1253fc5c9 100755 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,6 @@ matrix: fast_finish: true env: - - LINT=true TYPE=standard - TYPE=standard DISTRO=redhat MONOLITHIC=y SYSTEMD=y WERROR=y - TYPE=standard DISTRO=redhat MONOLITHIC=n SYSTEMD=y WERROR=y - TYPE=standard DISTRO=debian MONOLITHIC=y SYSTEMD=y WERROR=y @@ -27,6 +26,11 @@ env: - TYPE=mls DISTRO=gentoo MONOLITHIC=y SYSTEMD=n WERROR=y - TYPE=mls DISTRO=gentoo MONOLITHIC=n SYSTEMD=n WERROR=y +matrix: + include: + - python: 3.7 + env: LINT=true TYPE=standard + sudo: false dist: bionic @@ -91,7 +95,7 @@ install: script: - echo $TYPE $DISTRO $MONOLITHIC $SYSTEMD $WERROR - set -e - - if [ -n "$LINT" ] ; then ./testing/check_fc_files.py ; fi + - if [ -n "$LINT" ] ; then python3 -t -t -E -W error testing/check_fc_files.py ; fi - make bare - make conf - make