Skip to content

Commit

Permalink
Setup Travis CI for documentation changes
Browse files Browse the repository at this point in the history
Fixes openebs#443

.travis.yaml
 - adds sphinx build steps that converts warnings into errors
 - inspiration: https://coderwall.com/p/wws2uq/have-travis-ci-test-your-sphinx-docs

requirements.txt
 - sphinx related packages
kmova committed Oct 1, 2017
1 parent 6667640 commit 0e40a32
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
dist: trusty
sudo: required
install: true
language: python

python:
- "2.7"

install: "pip install -q -r requirements.txt"

script:
- make build
notifications:
email:
recipients:
- kiran.mova@cloudbyte.com
- cd documentation; sphinx-build -nW -b html source build

2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Sphinx==1.6.3
sphinx-rtd-theme==0.2.4

0 comments on commit 0e40a32

Please sign in to comment.