Split requirements file into two

This makes it easier to keep track of packages needed for development and
production, and it's better for testing
This commit is contained in:
Roland Geider
2014-06-27 15:14:58 +02:00
parent 2c80c55626
commit 2c1533b329
3 changed files with 20 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ install:
# - sh -c "if [ '$DB' = 'mysql' ]; then pip install mysql-python; fi"
- sh -c "if [ '$DB' = 'postgresql' ]; then pip install psycopg2; fi"
- pip install -r requirements.txt
- pip install -r requirements_devel.txt
- pip install -q Django==$DJANGO_VERSION
- python extras/scripts/create_local_settings.py
@@ -31,10 +31,13 @@ before_script:
script:
# Regular application
- ./manage.py test
- coverage run --source='.' ./manage.py test
# Mobile version
- TEST_MOBILE=True ./manage.py test
# Formatting
- pep8 --max-line-length=100 --exclude="urls.py,*migrations*" wger
# Code coverage
- coverage report

View File

@@ -1,9 +1,12 @@
#
# Requirements for wger for production
#
Django>=1.6,<1.7
django-browserid==0.9
django-recaptcha
reportlab
django_mobile
pep8
bleach
south < 2.0
django-tastypie==0.9.16

11
requirements_devel.txt Normal file
View File

@@ -0,0 +1,11 @@
#
# Requirements for wger during development
#
# Production packages
-r requirements.txt
# Development packages
pep8
django-debug-toolbar
coverage