From b3fbd4103cd667a5ad788a85cbfd7a0c352aef16 Mon Sep 17 00:00:00 2001
From: Bodor Máté <bmate711@gmial.com>
Date: Mon, 8 Jul 2019 14:38:05 +0200
Subject: [PATCH] Change CI global befor_script to stage local before_script

---
 .gitlab-ci.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9e0c711..af66e55 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,20 +1,20 @@
 image: python:3.6
 
-before_script:
-  - pip install flake8
-  - pip install pipenv
-  - pipenv install
-
 stages:
   - lint
   - test
 
 flake8:
+  before_script:
+    - pip install flake8
   stage: lint
   script:
     - flake8 --max-line-length=125 --exclude=migrations
 
 test:
+  before_script:
+    - pip install pipenv
+    - pipenv install
   script:
   - cd recircle
   - pipenv run python manage.py test
\ No newline at end of file
--
libgit2 0.26.0