Skip to content

Commit 3179110

Browse files
committed
Finish tweaking demo website build
1 parent 6eafde7 commit 3179110

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,18 @@ jobs:
2525
- npm install --no-optional --no-audit --progress=false
2626
- poetry install
2727
before_script:
28+
- npm run build
2829
- poetry run django-admin runserver --settings=tests.settings.production --pythonpath=. &
2930
script:
3031
# Python linting.
3132
- tox -e lint
3233
# Docs website build.
3334
- poetry run mkdocs build --strict
34-
- wget --mirror --page-requisites --no-parent http://localhost:8000/django-pattern-library/demo/pattern-library/
35+
# Demo website build.
36+
- wget --mirror --page-requisites --no-parent --no-verbose http://localhost:8000/django-pattern-library/demo/pattern-library/
3537
- mv localhost:8000/django-pattern-library/demo site
3638
# Package build, incl. publishing an experimental pre-release via GitHub Pages for builds on `master`.
3739
- cat pyproject.toml| awk '{sub(/^version = .+/,"version = \"0.0.0.dev\"")}1' > pyproject.toml.tmp && mv pyproject.toml.tmp pyproject.toml
38-
- npm run build
3940
- poetry build
4041
- mv dist site
4142
deploy:

0 commit comments

Comments
 (0)