Commit b3fbd410 by Bodor Máté

Change CI global befor_script to stage local before_script

parent e121d55a
Pipeline #743 failed with stages
in 1 minute 12 seconds
image: python:3.6 image: python:3.6
before_script:
- pip install flake8
- pip install pipenv
- pipenv install
stages: stages:
- lint - lint
- test - test
flake8: flake8:
before_script:
- pip install flake8
stage: lint stage: lint
script: script:
- flake8 --max-line-length=125 --exclude=migrations - flake8 --max-line-length=125 --exclude=migrations
test: test:
before_script:
- pip install pipenv
- pipenv install
script: script:
- cd recircle - cd recircle
- pipenv run python manage.py test - pipenv run python manage.py test
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment