Skip to content

Commit

Permalink
Make tox run with django 1.9 and django 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Christofer Bertonha committed Aug 15, 2016
1 parent 8e22ac3 commit 721ddaf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
language: python
python: 2.7
env:
- TOX_ENV=py27
- TOX_ENV=py34
- TOX_ENV=py27-django19
- TOX_ENV=py34-django19
- TOX_ENV=py27-django110
- TOX_ENV=py34-django110
install:
- pip install tox
- pip install "coverage>=3.7.1" coveralls
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def read_files(*filenames):
packages=find_packages(),
include_package_data=True,
install_requires=[
'django>=1.10',
'django>=1.9',
'pytz'
],
cmdclass={'test': DjangoTests},
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[tox]
distribute = False
envlist =
py27, py34
{py27,py34}-django19
{py27,py34}-django110


[testenv]
setenv = DJANGO_SETTINGS_MODULE=trackstats.tests.settings
usedevelop = True
deps =
Django
django19: Django==1.9.9
django110: Django==1.10
pytz
coverage
commands =
Expand Down

0 comments on commit 721ddaf

Please sign in to comment.