mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-12-04 06:43:43 +03:00
Updates yaml
This commit is contained in:
parent
03925f46e4
commit
5faeda0c3a
|
@ -5,13 +5,13 @@ orbs:
|
||||||
jobs:
|
jobs:
|
||||||
build-latest: &template
|
build-latest: &template
|
||||||
environment:
|
environment:
|
||||||
DJANGO_VERSION: 3.0.*
|
DJANGO_VERSION: 3.0
|
||||||
DRF: 3.9.*
|
DRF: 3.9
|
||||||
executor: python/default
|
executor: python/default
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: echo $DJANGO_VERSION > requirements.txt
|
- run: echo "Django==$DJANGO_VERSION" > requirements.txt
|
||||||
- run: echo $DRF >> requirements.txt
|
- run: echo "djangorestframework==$DRF" >> requirements.txt
|
||||||
- run: pip install -r requirements.txt
|
- run: pip install -r requirements.txt
|
||||||
- run:
|
- run:
|
||||||
command: ./manage.py test
|
command: ./manage.py test
|
||||||
|
@ -19,8 +19,8 @@ jobs:
|
||||||
build-django-2:
|
build-django-2:
|
||||||
<<: *template
|
<<: *template
|
||||||
environment:
|
environment:
|
||||||
DJANGO_VERSION: 2.0.*
|
DJANGO_VERSION: 2.0
|
||||||
DRF: 3.9.*
|
DRF: 3.9
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
main:
|
main:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user