django-rest-auth/.circleci/config.yml

29 lines
585 B
YAML
Raw Normal View History

2020-03-01 03:58:59 +03:00
version: 2.1
orbs:
python: circleci/python@0.2.1
jobs:
build-latest: &template
environment:
DJANGO_VERSION: 3.0.*
DRF: 3.9.*
executor: python/default
steps:
- checkout
2020-03-01 04:07:45 +03:00
- run: echo $DJANGO_VERSION > requirements.txt
- run: echo $DRF >> requirements.txt
2020-03-01 04:03:43 +03:00
- run: pip install -r requirements.txt
2020-03-01 03:58:59 +03:00
- run:
command: ./manage.py test
name: Test
build-django-2:
<<: *template
environment:
DJANGO_VERSION: 2.0.*
DRF: 3.9.*
workflows:
main:
jobs:
- build-latest
- build-django-2