Skip to content

Commit

Permalink
tox
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Apr 9, 2019
1 parent 8a836b6 commit bfd672e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
3 changes: 3 additions & 0 deletions requirements.tests.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
edc-registration
faker
model-mommy
3 changes: 0 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
edc-registration
faker
model-mommy
1 change: 0 additions & 1 deletion runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
'django_crypto_fields.apps.AppConfig',
'rest_framework',
'rest_framework.authtoken',
'edc_base.apps.AppConfig',
'edc_identifier.apps.AppConfig',
'edc_protocol.apps.AppConfig',
'edc_registration.apps.AppConfig',
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
with open(join(dirname(__file__), 'VERSION')) as f:
VERSION = f.read()

tests_require = ["pytest"]
tests_require = []
with open(join(dirname(abspath(__file__)), 'requirements.txt')) as f:
for line in f:
tests_require.append(line.strip())
Expand All @@ -36,7 +36,6 @@
'ambition-visit-schedule',
'django-collect-offline',
'django-collect-offline-files',
'edc-base',
'edc-constants',
'edc-identifier',
'edc-facility',
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ commands =
codecov -e TOXENV
deps =
-rrequirements.txt
-rrequirements.tests.txt
edc-test-utils
coverage
codecov>=1.4.0
flake8
django21: Django>=2.1,<2.2
django22: Django==2.2rc1
django22: Django>=2.2,<2.3
djangotrunk: https://github.com/django/django/tarball/master

[travis]
Expand Down

0 comments on commit bfd672e

Please sign in to comment.