Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
Enable documentation building with Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
decentral1se committed Jan 17, 2017
1 parent 888990e commit 17463a2
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,34 @@ addons:
matrix:
include:
- python: 3.5.2
env: TOXENV=py35
env: TOXENV=py35 BUILD=code
- python: 3.4.4
env: TOXENV=py34
env: TOXENV=py34 BUILD=code
- python: 2.7
env: TOXENV=py27
env: TOXENV=py27 BUIOD=code
- python: 3.5.2
env: TOXENV=py35 BUILD=docs


install:
- pip install -U tox
- |
set -ex
case "$BUILD" in
code)
pip install -U tox ;;
docs)
pip install -U sphinx ;;
esac
set +ex
script:
- tox
- |
set -ex
case "$BUILD" in
code)
tox ;;
docs)
SPHINXOPTS=-W make html ;;
esac
set +ex

0 comments on commit 17463a2

Please sign in to comment.