Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ python:
- 2.7
- 3.4
- 3.5
- 3.6

install:
- sudo apt-get update -y
Expand Down
5 changes: 4 additions & 1 deletion barbeque/anylink.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

from anylink.extensions import BaseLink
from cms.models.fields import PageField
from cms.utils import get_cms_setting
try:
from cms.utils import get_cms_setting_
except ImportError:
from cms.utils.conf import get_cms_setting
from django.conf import settings
from django.core.cache import cache
from django.db import models
Expand Down
2 changes: 1 addition & 1 deletion barbeque/tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_failing_oserror_py3(self):

assert exc.value.code == 1
assert exc.value.command == cmd
assert exc.value.stderr == (
assert exc.value.stderr.startswith(
"[Errno 2] No such file or directory: 'thiscommanddoesnotexist'")

def test_failing_return_value(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def patched_os_walk(path, *args, **kwargs):
'Pillow==4.2.1',
'django-anylink==0.4.2',
'django-treebeard==4.1.2',
'django-cms==3.4.4',
'django-cms==3.5.2',
'django-polymorphic==1.3',
'django-compressor==2.2',
'django-filer==1.2.8',
Expand Down
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
[tox]
skipsdist = True
envlist={py27,py34}-django18,{py27,py34}-django{19,110},py35-django111
envlist={py27,py34,py35,py36}-django111,{py34,py35,py36}-django20

[tox:travis]
2.7 = py27
3.4 = py34
3.5 = py35
3.6 = py36

[testenv]
skip_install = True
setenv = PYTHONPATH={toxinidir}
deps =
.[tests]
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
commands =
py.test --cov