Added Makefile for easier running the tests locally.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user