2012-11-24 15:26:20 +01:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
|
|
|
install:
|
|
|
|
- pip install -r requirements.txt --use-mirrors
|
2012-11-24 16:22:48 +01:00
|
|
|
- python extras/scripts/create_local_settings.py
|
2012-11-26 10:11:36 +01:00
|
|
|
script:
|
2013-03-14 22:18:56 +01:00
|
|
|
- export DJANGO_SETTINGS_MODULE=tests.settings
|
2012-11-26 10:11:36 +01:00
|
|
|
- coverage run ./manage.py test tests && coverage report -m
|
2013-02-02 10:52:13 +01:00
|
|
|
- pep8 --max-line-length=150 --exclude="urls.py," --statistics openslides
|
2013-03-12 21:56:13 +01:00
|
|
|
- pep8 --max-line-length=150 --statistics tests
|