mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
Set env vars before installing and use crate.
This commit is contained in:
parent
7802fbe328
commit
0672fa42bf
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue