Skip to content

Commit 7631775

Browse files
committed
Allow failures on Python 2.6
Some of our test dependencies like Mock no longer support it. Pinning Mock==1.0.1 on Python 2.6 should avoid that failure but the days of Python 2.6 are clearly numbered.
1 parent f17b5da commit 7631775

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ before_install:
2929
- mkdir -p $HOME/download-cache
3030

3131
install:
32+
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install mock==1.0.1; fi
3233
- pip install requests "Django${DJANGO_VERSION}"
3334
- python setup.py clean build install
3435

@@ -48,6 +49,7 @@ env:
4849
matrix:
4950
allow_failures:
5051
- python: "pypy"
52+
- python: 2.6
5153
exclude:
5254
- python: 2.6
5355
env: DJANGO_VERSION=">=1.7,<1.8"

0 commit comments

Comments
 (0)