2017-04-10 09:35:22 +02:00
|
|
|
language: python
|
|
|
|
python:
|
2017-11-27 07:29:46 +01:00
|
|
|
- "3.4.2"
|
2017-11-27 07:11:40 +01:00
|
|
|
# - "3.6"
|
2017-04-10 09:48:09 +02:00
|
|
|
|
|
|
|
env:
|
2018-02-20 09:23:24 +01:00
|
|
|
- DJANGO_SECRET_KEY=0 OPENNEBULA_USERNAME='test' OPENNEBULA_PASSWORD='test' OPENNEBULA_PROTOCOL='http' OPENNEBULA_DOMAIN='test_domain' OPENNEBULA_PORT='2633' OPENNEBULA_ENDPOINT='/RPC2' DCL_TEXT='Data Center Light' CELERY_MAX_RETRIES=0 UNGLEICH_SITE_CONFIGS='{"localhost":{"MULTISITE_CMS_URL":"dynamicweb.urls"}}'
|
2017-04-10 09:35:22 +02:00
|
|
|
# install dependencies
|
|
|
|
install: "pip install -r requirements.txt"
|
2017-06-29 17:34:40 +03:00
|
|
|
script:
|
|
|
|
- flake8
|
2018-04-05 23:31:47 +02:00
|
|
|
- python manage.py compilemessages
|
2017-11-26 04:35:46 +01:00
|
|
|
- python manage.py test -v 3
|
2017-11-27 07:11:40 +01:00
|
|
|
# - coverage run --source='.' manage.py test dynamicweb -v 3
|
|
|
|
# - coverage report
|