Skip to content

Commit

Permalink
Attempt to fix doc build env [doc-build] (#412)
Browse files Browse the repository at this point in the history
* Attempt to fix doc build env [doc-build]

* Try to pin proj [doc-build]
  • Loading branch information
philippjfr authored Dec 19, 2019
1 parent c6a34ff commit ef14244
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ stages:
- name: docs
if: tag =~ ^v(\d+|\.)*[^a-z]\d*$ OR tag = website AND NOT type = pull_request
- name: docs_dev
if: tag =~ ^v(\d+|\.)*[a-z]\d*$ OR tag = website_dev OR commit_message =~ /^.*(website_dev).*$/ AND NOT type = pull_request
if: (tag =~ ^v(\d+|\.)*[a-z]\d*$) OR (tag = website_dev) OR ((commit_message =~ /\[doc-build\]/) and branch = master)
- name: conda_dev_package
if: tag =~ ^v(\d+|\.)*[a-z]\d*$
- name: pip_dev_package
Expand Down Expand Up @@ -69,11 +69,15 @@ jobs:
<<: *default
stage: docs
# not possible to run all examples to build website using only defaults (see setup.py)
env: DESC="docs" HV_DOC_HTML='true' CHANS_DOC="-c pyviz -c conda-forge"
script:
- doit develop_install $CHANS_DOC -o doc
- geoviews fetch-data --path=examples
env: DESC="docs" HV_DOC_HTML='true' CHANS_DEV="-c pyviz/label/dev -c conda-forge"
install:
- doit env_create $CHANS_DEV --python=$PYTHON_VERSION
- source activate test-environment
- doit develop_install $CHANS_DEV -o doc
- doit env_capture
- bokeh sampledata
- geoviews fetch-data --path=examples
script:
- nbsite generate-rst --org holoviz --project-name geoviews --offset 0
- nbsite build --what=html --output=builtdocs
deploy:
Expand All @@ -89,7 +93,6 @@ jobs:

- <<: *doc_build
stage: docs_dev
env: CHANS_DOC="-c pyviz/label/dev -c conda-forge"
deploy:
- provider: pages
skip_cleanup: true
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def package_assets(example_path):
'nbsite >=0.6.1',
'sphinx_holoviz_theme',
'selenium',
'proj<6.2.1'
],
'tests': [
'coveralls',
Expand Down

0 comments on commit ef14244

Please sign in to comment.