Updates yaml

This commit is contained in:
Michael 2020-02-29 19:11:49 -06:00
parent 03925f46e4
commit 5faeda0c3a

View File

@ -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: