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