diff --git a/.travis.yml b/.travis.yml index 29545e8..5a802ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,14 @@ python: # - "2.5" - "2.6" - "2.7" +before_install: + - export PIP_USE_MIRRORS=true + - export PIP_INDEX_URL=https://simple.crate.io/ + - export DJANGO_SETTINGS_MODULE=dbtemplates.test_settings install: - - pip install . + - pip install -e . - pip install -r requirements/tests.txt Django==$DJANGO before_script: - - export PIP_USE_MIRRORS=true - - export DJANGO_SETTINGS_MODULE=dbtemplates.test_settings - flake8 dbtemplates --ignore=E501 script: - django-admin.py test dbtemplates