diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2018-11-08 20:46:10 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2018-11-08 20:50:37 +0000 |
commit | 0c409a2434156bbcf9cb98ebeecce915a0006be3 (patch) | |
tree | 0edfaad6d59cc7b5fa11126246f362a97a9612ee /.travis.yml | |
parent | 03cd0ac391bbd0ae9d01cb085ae9c16665255b17 (diff) |
use travis-sphinx to deploy docs to gh-pages
see https://github.com/syntaf/travis-sphinx
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index e23441ab..4016af0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -127,6 +127,9 @@ install: touch gpg.py # install sphinx for building the html docs pip install sphinx + # install travis-sphinx script to auto-deploy docs to the gh-pages branch on github + pip install travis-sphinx + else pip install .[test] fi @@ -153,6 +156,8 @@ after_success: | coverage xml export CODACY_PROJECT_TOKEN=df4443e7313e4ae599bcbbaf4835b00f python-codacy-coverage -r coverage.xml + # auto-deploy docs to the gh-pages branch on github + travis-sphinx deploy fi notifications: |