Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadostin Stoyanov <rstoyanov1@gmail.com>2019-07-31 09:02:10 +0300
committerAndrei Vagin <avagin@gmail.com>2019-09-07 15:59:55 +0300
commit5721e6100037b4e51a67548f7eecd7f67432b7af (patch)
tree03e495e110b505f55c241828203d04ce0433a0e1 /scripts/travis
parent2a683849b9b3619f7f5a619192e309c0993193c3 (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-xscripts/travis/travis-tests4
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