Remove no longer required collectstatic steps before tests.

This commit is contained in:
Christopher Charbonneau Wells 2017-12-03 17:14:55 -05:00
parent d86c91aeab
commit dbe87fe853
3 changed files with 9 additions and 7 deletions

View File

@ -17,8 +17,6 @@ install:
- pip install pipenv && pipenv install --dev
before_script:
- gulp lint
- gulp build
- gulp collectstatic
script:
- gulp coverage
after_success:

View File

@ -497,8 +497,6 @@ not need to be executed independently - see the `build` command.
Executes Baby Buddy's suite of tests.
:exclamation: Tests require static files to be collected, it may be necessary
to execute ``gulp build && gulp collectstatic`` before tests (if static files
have changed). Gulp also passes along non-overlapping arguments for this
command, however individual tests cannot be run with this command.
`python manage.py test` can be used for individual test execution.
Gulp also passes along non-overlapping arguments for this command, however
individual tests cannot be run with this command. `python manage.py test` can be
used for individual test execution.

View File

@ -3,6 +3,12 @@ from .base import *
SECRET_KEY = 'TRAVISCIWHYNOT'
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.11/howto/static-files/
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
# Database
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases