gitlab ci syntax

* multiple before_script segments overwrite one another
This commit is contained in:
nico 2020-06-27 00:40:18 +02:00
parent 453d054ebb
commit 565702d91f
Signed by: mightyBroccoli
GPG Key ID: EA7C31AAB1BDC1A2
1 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,7 @@ cache:
paths:
# utilize pip caching
- .cache/pip
# cache the virtualenv to reduce load
# cache the virtual environment
- venv/
# setup environemnt
@ -18,6 +18,7 @@ before_script:
- virtualenv venv
- source venv/bin/activate
- pip install -r requirements.txt
- pip install flake8
stages:
- syntax
@ -25,8 +26,6 @@ stages:
syntax:
stage: syntax
before_script:
- pip install flake8
script:
# breaking errors ie syntax errors
- flake8 --select=E9,F63,F7,F82 --show-source