commit: 466f490ecad2fff5bf088b0bcab4f35b1c6e4830 Author: Christian Göttsche <cgzones <AT> googlemail <DOT> com> AuthorDate: Thu Oct 3 23:11:22 2019 +0000 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> CommitDate: Mon Dec 16 13:09:20 2019 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=466f490e
travis: run check_fc_files linter with python 3.7 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7a377148..8be908cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ matrix: # for T in standard mls mcs ; do for D in arch debian gentoo ; do for I in n y ; do for M in y n ; do for S in n y ; do # echo " - TYPE=$T DISTRO=$D DIRECT_INITRC=$I MONOLITHIC=$M SYSTEMD=$S" ; done ; done ; done ; done ; done env: - - LINT=true TYPE=standard - TYPE=standard DISTRO=gentoo MONOLITHIC=n SYSTEMD=n WERROR=y - TYPE=standard DISTRO=gentoo MONOLITHIC=n SYSTEMD=y WERROR=y - TYPE=standard DISTRO=gentoo MONOLITHIC=y SYSTEMD=n WERROR=y @@ -23,6 +22,11 @@ env: - TYPE=mls DISTRO=gentoo MONOLITHIC=y SYSTEMD=n WERROR=y - TYPE=mls DISTRO=gentoo MONOLITHIC=y SYSTEMD=y WERROR=y +matrix: + include: + - python: 3.7 + env: LINT=true TYPE=standard + sudo: false dist: bionic @@ -87,7 +91,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