2012-11-24 15:26:20 +01:00
|
|
|
language: python
|
|
|
|
python:
|
2014-08-16 09:25:18 +02:00
|
|
|
- "3.3"
|
|
|
|
- "3.4"
|
2015-01-05 15:01:42 +01:00
|
|
|
install:
|
|
|
|
- "pip install -r requirements.txt"
|
|
|
|
- "npm install"
|
|
|
|
- "node_modules/.bin/bower install"
|
|
|
|
- "node_modules/.bin/gulp --production"
|
2014-08-16 09:25:18 +02:00
|
|
|
script:
|
|
|
|
- "flake8 --max-line-length=150 --statistics openslides tests"
|
2015-01-22 18:29:12 +01:00
|
|
|
|
|
|
|
- "DJANGO_SETTINGS_MODULE='tests.settings' coverage run ./manage.py test tests.unit"
|
|
|
|
- "coverage report --show-missing --fail-under=35"
|
|
|
|
|
|
|
|
- "DJANGO_SETTINGS_MODULE='tests.settings' coverage run ./manage.py test tests.integration"
|
|
|
|
- "coverage report --show-missing --fail-under=45"
|
|
|
|
|
|
|
|
- "DJANGO_SETTINGS_MODULE='tests.old.settings' ./manage.py test tests.old"
|