mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-12-02 13:53:43 +03:00
29 lines
591 B
YAML
29 lines
591 B
YAML
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
|
|
- run: echo -n $DJANGO_VERSION > requirements.txt
|
|
- run: echo -n $DRF >> requirements.txt
|
|
- run: pip install -r requirements.txt
|
|
- 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 |