aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2020-06-27 00:40:18 +0200
committernico <nico@magicbroccoli.de>2020-06-27 00:40:18 +0200
commit565702d91f67b0b94c327574aa89564a40b95a37 (patch)
treedd62436883f96e967d0e81d63d160b2e16ca2321 /.gitlab-ci.yml
parent453d054ebbab62080c1483d6d160e251f4841155 (diff)
gitlab ci syntax
* multiple before_script segments overwrite one another
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f99e762..87a0c5a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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