mirror of https://github.com/snachodog/mybuddy.git
Remove no longer required collectstatic steps before tests.
This commit is contained in:
parent
d86c91aeab
commit
dbe87fe853
|
@ -17,8 +17,6 @@ install:
|
|||
- pip install pipenv && pipenv install --dev
|
||||
before_script:
|
||||
- gulp lint
|
||||
- gulp build
|
||||
- gulp collectstatic
|
||||
script:
|
||||
- gulp coverage
|
||||
after_success:
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue