Skip to content

Commit

Permalink
Added doc generation to travis config (#274)
Browse files Browse the repository at this point in the history
* added provider

* added basic config

* updated token

* added before_deploy

* updated branch
  • Loading branch information
ChrisTimperley authored Jun 20, 2019
1 parent 41767bb commit 0769e51
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ script:
- mypy src --ignore-missing-imports
notifications:
email: false
before_deploy:
- "(python setup.py docs && touch docs/_build/html/.nojekyll)"
deploy:
- provider: pypi
user: ChrisTimperley
Expand All @@ -22,3 +24,10 @@ deploy:
on:
tags: true
python: '3.6'
- provider: pages
skip_cleanup: true
local_dir: docs/_build/html
github_token: "$GITHUB_TOKEN"
on:
branch: master
python: '3.6'

0 comments on commit 0769e51

Please sign in to comment.