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
|
- pip install pipenv && pipenv install --dev
|
||||||
before_script:
|
before_script:
|
||||||
- gulp lint
|
- gulp lint
|
||||||
- gulp build
|
|
||||||
- gulp collectstatic
|
|
||||||
script:
|
script:
|
||||||
- gulp coverage
|
- gulp coverage
|
||||||
after_success:
|
after_success:
|
||||||
|
|
|
@ -497,8 +497,6 @@ not need to be executed independently - see the `build` command.
|
||||||
|
|
||||||
Executes Baby Buddy's suite of tests.
|
Executes Baby Buddy's suite of tests.
|
||||||
|
|
||||||
:exclamation: Tests require static files to be collected, it may be necessary
|
Gulp also passes along non-overlapping arguments for this command, however
|
||||||
to execute ``gulp build && gulp collectstatic`` before tests (if static files
|
individual tests cannot be run with this command. `python manage.py test` can be
|
||||||
have changed). Gulp also passes along non-overlapping arguments for this
|
used for individual test execution.
|
||||||
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'
|
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
|
# Database
|
||||||
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
|
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue