mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-25 19:52:54 +03:00
Add support for tox to run tests against Django 1.X/2.0
This commit is contained in:
parent
6a4beca193
commit
cd844fccec
3
.gitignore
vendored
3
.gitignore
vendored
@ -19,3 +19,6 @@ dist/
|
|||||||
|
|
||||||
# Ignore PyCharm
|
# Ignore PyCharm
|
||||||
.idea/
|
.idea/
|
||||||
|
|
||||||
|
# Ignore tox environments
|
||||||
|
.tox/
|
||||||
|
@ -28,7 +28,7 @@ build:
|
|||||||
-
|
-
|
||||||
command: flake8 ./localized_fields/
|
command: flake8 ./localized_fields/
|
||||||
-
|
-
|
||||||
command: coverage run manage.py test
|
command: tox
|
||||||
coverage:
|
coverage:
|
||||||
file: '.coverage'
|
file: '.coverage'
|
||||||
format: 'py-cc'
|
format: 'py-cc'
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
-r base.txt
|
-r base.txt
|
||||||
|
|
||||||
Django==1.11.9
|
|
||||||
django-autoslug==1.9.3
|
django-autoslug==1.9.3
|
||||||
django-bleach==0.3.0
|
django-bleach==0.3.0
|
||||||
django-coverage-plugin==1.3.1
|
django-coverage-plugin==1.3.1
|
||||||
@ -14,3 +13,4 @@ django-coverage-plugin==1.3.1
|
|||||||
flake8==3.5.0
|
flake8==3.5.0
|
||||||
pep8==1.7.1
|
pep8==1.7.1
|
||||||
dj-database-url==0.4.2
|
dj-database-url==0.4.2
|
||||||
|
tox==2.9.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user