Skip to content

Commit e2cb1ef

Browse files
committed
Try out mkdocs build in CI
1 parent ae6b5fb commit e2cb1ef

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,19 @@ jobs:
2020
- npm install --no-optional --no-audit --progress=false
2121
script:
2222
- npm run build
23+
- python: 3.8
24+
install:
25+
- poetry install
26+
script:
27+
- cp README.md docs/README.md
28+
- poetry run mkdocs
2329
install:
2430
- pip install poetry tox
2531
script:
2632
- tox -e lint
2733
- tox -e $(tox -l | grep ${PYVER} | xargs echo | sed 's/ /,/g')
34+
branches:
35+
except:
36+
- gh-pages
2837
notifications:
2938
email: false

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ markdown_extensions:
2222
- pymdownx.tilde
2323

2424
nav:
25+
# Auto-magically copied from the root of the project in the CI build.
2526
- 'Home': 'README.md'
2627
- 'Overview': 'overview.md'

0 commit comments

Comments
 (0)