Merge pull request #120 from cgzones/travis_lint_py

travis: run check_fc_files linter with python 3.7
This commit is contained in:
Chris PeBenito 2019-10-03 21:02:55 -04:00 committed by GitHub
commit 1f947b191d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -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