Added Makefile for easier running the tests locally.
This commit is contained in:
@@ -6,7 +6,6 @@ python:
|
|||||||
before_install:
|
before_install:
|
||||||
- export PIP_USE_MIRRORS=true
|
- export PIP_USE_MIRRORS=true
|
||||||
- export PIP_INDEX_URL=https://simple.crate.io/
|
- export PIP_INDEX_URL=https://simple.crate.io/
|
||||||
- export DJANGO_SETTINGS_MODULE=compressor.test_settings
|
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get install csstidy libxml2-dev libxslt-dev
|
- sudo apt-get install csstidy libxml2-dev libxslt-dev
|
||||||
install:
|
install:
|
||||||
@@ -15,7 +14,7 @@ install:
|
|||||||
before_script:
|
before_script:
|
||||||
- flake8 compressor --ignore=E501
|
- flake8 compressor --ignore=E501
|
||||||
script:
|
script:
|
||||||
- django-admin.py test compressor
|
- make test
|
||||||
env:
|
env:
|
||||||
- DJANGO=1.3.1
|
- DJANGO=1.3.1
|
||||||
- DJANGO=1.4
|
- DJANGO=1.4
|
||||||
|
Reference in New Issue
Block a user