diff options
author | Radostin Stoyanov <rstoyanov1@gmail.com> | 2019-07-31 09:02:10 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2019-09-07 15:59:55 +0300 |
commit | 5721e6100037b4e51a67548f7eecd7f67432b7af (patch) | |
tree | 03e495e110b505f55c241828203d04ce0433a0e1 /scripts/travis | |
parent | 2a683849b9b3619f7f5a619192e309c0993193c3 (diff) |
scripts: Install flake8 with dnf in Fedora
In the Fedora tests we install python3-pip only to install flake8.
This is not necessary as there is a Fedora package for flake8.
Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
Diffstat (limited to 'scripts/travis')
-rwxr-xr-x | scripts/travis/travis-tests | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/travis/travis-tests b/scripts/travis/travis-tests index 348daca1f..c055860fd 100755 --- a/scripts/travis/travis-tests +++ b/scripts/travis/travis-tests @@ -163,7 +163,9 @@ ip net add test make -C test/others/shell-job -pip install flake8 +if ! [ -x "$(command -v flake8)" ]; then + pip install flake8 +fi make lint # Check that help output fits into 80 columns |