Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Improve testing requirements

  • Loading branch information...
commit b83111c30cb6300d9d8e49c07e3c9ba1d4848ad7 1 parent 176c699
David Cramer dcramer authored

Showing 3 changed files with 21 additions and 3 deletions. Show diff stats Hide diff stats

  1. +19 2 .travis.yml
  2. +1 1  runtests.py
  3. +1 0  setup.py
21 .travis.yml
@@ -2,5 +2,22 @@ language: python
2 2 python:
3 3 - "2.6"
4 4 - "2.7"
5   -install: python setup.py install
6   -script: python setup.py test
  5 + - "pypy"
  6 +env:
  7 + - DJANGO=1.2.7
  8 + - DJANGO=1.3.1
  9 +install:
  10 + - sudo apt-get install libevent-dev
  11 + - sudo pip install Django==$DJANGO --use-mirrors
  12 + - sudo pip install pep8 --use-mirrors
  13 + - sudo pip install https://github.com/dcramer/pyflakes/tarball/master
  14 + - sudo pip install -e . --use-mirrors
  15 +script:
  16 + - "sudo pep8 --ignore=E501,E225 mock_django"
  17 + - sudo pyflakes -x W mock_django
  18 + - sudo python setup.py test
  19 +notifications:
  20 + irc:
  21 + channels: "irc.freenode.org#sentry"
  22 + on_success: change
  23 + on_failure: change
2  runtests.py
... ... @@ -1,6 +1,6 @@
1 1 #!/usr/bin/env python
2 2 from django.conf import settings
3   -from nose.core import collector, run
  3 +from nose.core import run
4 4
5 5
6 6 # Trick Django into thinking that we've configured a project, so importing
1  setup.py
@@ -19,6 +19,7 @@
19 19 url='http://github.com/dcramer/mock-django',
20 20 packages=find_packages(),
21 21 install_requires=[
  22 + 'Django>=1.2,<1.5',
22 23 'nose',
23 24 'unittest2',
24 25 'mock',

0 comments on commit b83111c

Please sign in to comment.
Something went wrong with that request. Please try again.