Skip to content
Snippets Groups Projects
Commit 26411610 authored by Barnabás Czémán's avatar Barnabás Czémán
Browse files

add initial circle ci config

parent 447213fa
Branches
Tags
No related merge requests found
version: 2
jobs:
build:
working_directory: ~/kszkepzes
docker:
- image: circleci/python:3.6.4
steps:
- checkout
- run: sudo chown -R circleci:circleci /usr/local/bin
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.6/site-packages
- restore_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run:
command: |
sudo pip install -r requirements/development.txt
- save_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
paths:
- ".venv"
- "/usr/local/bin"
- "/usr/local/lib/python3.6/site-packages"
- run:
command: |
flake8 --max-line-length=125 --exclude=src/kszkepzes,migrations
python manage.py migrate
python manage.py test
- store_test_results:
path: test-results
- store_artifacts:
path: test-results
destination: tr1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment