Skip to content

Commit 30f739c

Browse files
authored
Merge pull request #2808 from jiaqi216/docs-build
Travis Builds Doc
2 parents d42c65a + 44471d9 commit 30f739c

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ env:
1919
- GROUP=js/base
2020
- GROUP=js/services
2121
- GROUP=js/tree
22+
- GROUP=docs
2223

2324
before_install:
2425
- pip install --upgrade pip
@@ -30,10 +31,14 @@ before_install:
3031
- npm upgrade -g npm
3132
- npm install
3233
- |
33-
if [[ $GROUP == js* ]]; then
34+
if [[ $GROUP == js* ]]; then
3435
3536
fi
3637
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
38+
- |
39+
if [[ $GROUP == docs ]]; then
40+
pip install -r docs/doc-requirements.txt
41+
fi
3742
3843
install:
3944
- pip install -f travis-wheels/wheelhouse file://$PWD#egg=notebook[test]
@@ -43,13 +48,17 @@ install:
4348
script:
4449
- 'if [[ $GROUP == js* ]]; then travis_retry python -m notebook.jstest ${GROUP:3}; fi'
4550
- 'if [[ $GROUP == python ]]; then nosetests -v --with-coverage --cover-package=notebook notebook; fi'
51+
- 'if [[ $GROUP == docs ]]; then make -C docs/ html; fi'
4652

4753
matrix:
4854
include:
4955
- python: 3.3
5056
env: GROUP=python
5157
- python: 3.4
5258
env: GROUP=python
59+
exclude:
60+
- python: 2.7
61+
env: GROUP=docs
5362

5463
after_success:
5564
- codecov

docs/doc-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
sphinx>=1.3.6
2-
sphinx-rtd-theme
2+
sphinx-rtd-theme
3+
nbsphinx==0.2.14

0 commit comments

Comments
 (0)