Added Makefile for easier running the tests locally.

This commit is contained in:
Jannis Leidel
2012-05-19 20:02:22 +02:00
parent fa0d2b216b
commit e59abfe478
2 changed files with 3 additions and 2 deletions

View File

@@ -6,7 +6,6 @@ python:
before_install:
- export PIP_USE_MIRRORS=true
- export PIP_INDEX_URL=https://simple.crate.io/
- export DJANGO_SETTINGS_MODULE=compressor.test_settings
- sudo apt-get update
- sudo apt-get install csstidy libxml2-dev libxslt-dev
install:
@@ -15,7 +14,7 @@ install:
before_script:
- flake8 compressor --ignore=E501
script:
- django-admin.py test compressor
- make test
env:
- DJANGO=1.3.1
- DJANGO=1.4

2
Makefile Normal file
View File

@@ -0,0 +1,2 @@
test:
django-admin.py test --settings=compressor.test_settings compressor