2017-04-10 07:35:22 +00:00
|
|
|
language: python
|
|
|
|
python:
|
2017-11-27 06:29:46 +00:00
|
|
|
- "3.4.2"
|
2017-11-27 06:11:40 +00:00
|
|
|
# - "3.6"
|
2017-04-10 07:48:09 +00:00
|
|
|
|
|
|
|
env:
|
2018-02-20 08:23:24 +00: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 07:35:22 +00:00
|
|
|
# install dependencies
|
|
|
|
install: "pip install -r requirements.txt"
|
2017-06-29 14:34:40 +00:00
|
|
|
script:
|
|
|
|
- flake8
|
2017-11-26 03:35:46 +00:00
|
|
|
- python manage.py test -v 3
|
2017-11-27 06:11:40 +00:00
|
|
|
# - coverage run --source='.' manage.py test dynamicweb -v 3
|
|
|
|
# - coverage report
|