From 284ce5b784e41d2888dc4db48697e5fa2e5e27e8 Mon Sep 17 00:00:00 2001
From: Alexandre Abadie <alexandre.abadie@inria.fr>
Date: Wed, 20 Dec 2017 13:34:42 +0100
Subject: [PATCH] travis: install flake8 using pip3

this ensure no python2 flake8 will be installed and prevent confusion with required python3 flake8
---
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 52f1bb7a6c..72cea2d86c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,8 @@
 dist: trusty
 
 before_install:
-  - sudo apt-get install coreutils realpath doxygen graphviz python-lesscpy cppcheck coccinelle pcregrep python3-flake8
+  - sudo apt-get install coreutils realpath doxygen graphviz python-lesscpy cppcheck coccinelle pcregrep python3-pip
+  - sudo pip3 install flake8
 
 script:
   - make static-test
-- 
GitLab