Skip to content

ENH: Add automatic doc build #459

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ matrix:
- PYTHON=3.6 PANDAS=0.21.1
- dist: trusty
env:
- PYTHON=3.6 PANDAS=0.22
- PYTHON=3.6 PANDAS=0.22 DOCBUILD=true
# In allow failures
- dist: trusty
env:
Expand Down Expand Up @@ -60,6 +60,10 @@ install:
else
conda install pandas=$PANDAS;
fi
- if [[ $DOCBUILD ]]; then
conda install sphinx ipython matplotlib;
pip install sphinx_rtd_theme doctr;
fi
- pip install beautifulsoup4
- pip install coveralls --quiet
- conda list
Expand All @@ -72,4 +76,16 @@ script:
- flake8 pandas_datareader

after_success:
- |
if [[ ${DOCBUILD} ]]; then
cd docs
make html && make html
cd ..
doctr deploy devel --build-tags
if [[ -z ${TRAVIS_TAG} ]]; then
echo "Not a tagged build."
else
doctr deploy doc --build-tags
fi
fi
- coveralls
1 change: 1 addition & 0 deletions docs/source/whatsnew/v0.6.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,5 @@ Other Changes
~~~~~~~~~~~~~
- The minimum tested pandas version was increased to 0.19.2 (:issue:`441`).
- Added versioneer to simplifying release (:issue:`442`).
- Added doctr to automatically build docs for gh-pages (:issue:`459`).