Skip to content
Snippets Groups Projects
Commit 2c0fbfad authored by Márki-Zay Ferenc's avatar Márki-Zay Ferenc
Browse files

Switch to gitlab ci

parent bac0a5f8
No related branches found
No related tags found
1 merge request!1Switch to gitlab ci
Pipeline #2667 failed
stages:
- test
test:
image: python:3.7
stage: test
variables:
CONFIG_FILE: ${CI_PROJECT_DIR}/ci_config.yaml
before_script:
- pip install pipenv
- pip install flake8
- pipenv install --system --dev --ignore-pipfile
- pipenv run src/manage.py migrate
script:
- pipenv run src/manage.py test src/
- flake8
sudo: required
dist: xenial
language: python
python:
- "3.6"
services:
- postgresql
env:
- CONFIG_FILE=${TRAVIS_BUILD_DIR}/travis_config.yaml
before_install:
- sudo apt-get update
- sudo apt-get install -y graphviz-dev
install:
- pip install pipenv
- pip install flake8
- pipenv lock
- pipenv install --system --dev
before_script:
- pipenv run src/manage.py migrate
script:
- pipenv run src/manage.py test src/
- flake8
\ No newline at end of file
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment