gitlab-ci: Use 'tox' to run 'flake8'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>merge-requests/316/head
parent
0ab0749b53
commit
f645afcfd0
|
@ -14,10 +14,10 @@ static_js_css:
|
||||||
static_python:
|
static_python:
|
||||||
stage: static
|
stage: static
|
||||||
image: python:2.7
|
image: python:2.7
|
||||||
|
before_script:
|
||||||
|
- pip install tox
|
||||||
script:
|
script:
|
||||||
- pip install --no-cache-dir --no-deps -r requirements-dev.txt
|
- tox -e flake8
|
||||||
- cp env-dist .env
|
|
||||||
- flake8 .
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
image: python:2.7
|
image: python:2.7
|
||||||
|
|
Loading…
Reference in New Issue