Merge pull request #120 from cgzones/travis_lint_py
travis: run check_fc_files linter with python 3.7
This commit is contained in:
commit
1f947b191d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user