File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -78,13 +78,24 @@ jobs:
78
78
steps :
79
79
- checkout
80
80
- run :
81
- name : install pip
81
+ name : install python deps
82
82
command : |
83
83
apt-get update -q
84
- apt-get install -q -y python3-pip
85
- - run : python3 -m pip install --upgrade pip
86
- - run : python3 -m pip install flake8==7.1.1
87
- - run : python3 -m flake8 --show-source --statistics --extend-exclude=./scripts
84
+ apt-get install -q -y python2 python3-pip
85
+ - run :
86
+ name : python2 flake8
87
+ command : |
88
+ curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
89
+ python2 get-pip.py
90
+ python2 -m pip install flake8==3.9.2
91
+ python2 -m flake8 --show-source --statistics --extend-exclude=./scripts
92
+ - run :
93
+ name : python3 flake8
94
+ command : |
95
+ python3 -m pip install --upgrade pip
96
+ python3 -m pip install flake8==7.1.1
97
+ python3 -m flake8 --show-source --statistics --extend-exclude=./scripts
98
+
88
99
89
100
test-linux :
90
101
executor : ubuntu
You can’t perform that action at this time.
0 commit comments