mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-12-02 05:43:44 +03:00
Adds circle CI
This commit is contained in:
parent
f7da276bd2
commit
0824974292
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2014 iMerica
|
Copyright (c) 2014 iMerica https://github.com/iMerica/
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
32
config.yml
Normal file
32
config.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
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
|
||||||
|
- python/load-cache
|
||||||
|
- run:
|
||||||
|
- echo -n $DJANGO_VERSION > requirements.txt
|
||||||
|
- echo -n $DRF >> requirements.txt
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- python/save-cache
|
||||||
|
- 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
|
Loading…
Reference in New Issue
Block a user