Permalink
Browse files

Add support for Travis CI and coveralls

  • Loading branch information...
1 parent 6c042fd commit 7d5d55f207e2436136bd8ad4178ff2412a63a191 Sebastian Vetter committed Jul 15, 2013
Showing with 22 additions and 0 deletions.
  1. +3 −0 .coveragerc
  2. +18 −0 .travis.yml
  3. +1 −0 requirements.txt
View
@@ -0,0 +1,3 @@
+[run]
+source = fancypages
+omit = *migrations*
View
@@ -0,0 +1,18 @@
+language: python
+python:
+ - "2.7"
+env:
+ - DJANGO_VERSION=1.4.5
+ - DJANGO_VERSION=1.5.1
+ - DRF_VERSRION=">=2.0,<2.1"
+ - DRF_VERSRION=">=2.1,<2.2"
+ - DRF_VERSRION=">=2.2,<2.3"
+ - DRF_VERSRION=">=2.3,<2.4"
+install:
+ - pip install Django==$DJANGO_VERSION djangorestframework==$DRF_VERSION
+ - pip install . --use-mirrors
+ - pip install -r requirements.txt --use-mirrors
+script:
+ - coverage run ./runtests.py --with-xunit
+after_success:
+ - coveralls
View
@@ -19,6 +19,7 @@ tox>=1.4.2
flake8>=0.8
coverage>=3.5.1
pyflakes>=0.5.0
+coveralls>=0.1.1,<0.2
# documentation
Sphinx>=1.1.3

0 comments on commit 7d5d55f

Please sign in to comment.