Skip to content

Commit

Permalink
refactor dependencies for tox build
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Feb 18, 2018
1 parent ccf7ac5 commit 6dad1e6
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 15 deletions.
2 changes: 1 addition & 1 deletion requirements/common.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
django-admin-sortable2==0.6.19
django-allauth==0.23.0
django-angular==1.1.4
django-appconf==1.0.2
django-classy-tags==0.8.0
django-cms==3.4.5
Expand Down
4 changes: 4 additions & 0 deletions requirements/django110.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
django<1.11
django-select2<6.1
django-angular<2.1
-r common.txt
4 changes: 4 additions & 0 deletions requirements/django111.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
django<2.0
django-select2<6.1
django-angular<2.1
-r common.txt
4 changes: 4 additions & 0 deletions requirements/django19.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
django<1.10
django-select2<6.0
django-angular<1.2
-r common.txt
2 changes: 0 additions & 2 deletions requirements/py2.txt

This file was deleted.

2 changes: 1 addition & 1 deletion requirements/test_py2.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-r test.txt
-r py2.txt
enum34==1.1.6
funcsigs==1.0.2
2 changes: 0 additions & 2 deletions requirements/test_py3.txt

This file was deleted.

15 changes: 6 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ usedevelop = True
install_command = pip install --no-deps {opts} {packages}
commands = coverage run -a {envbindir}/py.test example
deps =
django19: django<1.10
django19: django-select2<6.0
django110: django<1.11
django110: django-select2<6.1
django111: django<2.0
django111: django-select2<6.1
django19: -r{toxinidir}/requirements/django19.txt
django110: -r{toxinidir}/requirements/django110.txt
django111: -r{toxinidir}/requirements/django111.txt
py27: -r{toxinidir}/requirements/test_py2.txt
py34: -r{toxinidir}/requirements/test_py3.txt
py35: -r{toxinidir}/requirements/test_py3.txt
py36: -r{toxinidir}/requirements/test_py3.txt
py34: -r{toxinidir}/requirements/test.txt
py35: -r{toxinidir}/requirements/test.txt
py36: -r{toxinidir}/requirements/test.txt
setenv =
DJANGO_SHOP_TUTORIAL = i18n_polymorphic
DJANGO_DEBUG = 1
Expand Down

0 comments on commit 6dad1e6

Please sign in to comment.