Skip to content

Commit 6eafde7

Browse files
committed
Move runserver to before_script
1 parent 3e053b2 commit 6eafde7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ jobs:
2424
- nvm install
2525
- npm install --no-optional --no-audit --progress=false
2626
- poetry install
27+
before_script:
28+
- poetry run django-admin runserver --settings=tests.settings.production --pythonpath=. &
2729
script:
2830
# Python linting.
2931
- tox -e lint
3032
# Docs website build.
3133
- poetry run mkdocs build --strict
32-
- poetry run django-admin runserver --settings=tests.settings.production --pythonpath=. &
3334
- wget --mirror --page-requisites --no-parent http://localhost:8000/django-pattern-library/demo/pattern-library/
3435
- mv localhost:8000/django-pattern-library/demo site
3536
# Package build, incl. publishing an experimental pre-release via GitHub Pages for builds on `master`.

0 commit comments

Comments
 (0)