Skip to content

Commit 95bd9df

Browse files
author
Jiaqi Liu
committed
add to doc requirements.txt file
1 parent d42c65a commit 95bd9df

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.travis.yml

Lines changed: 7 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=doc
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 doc-requirements.txt
41+
fi
3742
3843
install:
3944
- pip install -f travis-wheels/wheelhouse file://$PWD#egg=notebook[test]
@@ -43,6 +48,7 @@ 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 == doc ]]; then make -C docs/ html; fi'
4652

4753
matrix:
4854
include:

docs/doc-requirements.txt

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

0 commit comments

Comments
 (0)