Skip to content

Commit 2fe7a0a

Browse files
committed
DOC: Additional doctr fix
Ensure deploy is called from repo root
1 parent 9aa3d66 commit 2fe7a0a

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.travis.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,23 @@ before_install:
4949

5050
# Install packages
5151
install:
52-
- conda create -n randomstate-test ${PKGS} nose pip setuptools matplotlib --quiet
52+
- conda create -n randomstate-test ${PKGS} nose pip setuptools matplotlib pyyaml --quiet
5353
- source activate randomstate-test
5454
- pip install tempita sphinx guzzle_sphinx_theme ipython -q
5555
- python setup.py install
5656
- export BUILD_DIR=$PWD
57+
- cd $HOME
58+
59+
script:
5760
- set -e
61+
- nosetests randomstate
62+
- cd $BUILD_DIR/randomstate
5863
- |
5964
if [ ${PYTHON} = 3.5 ]; then
60-
cd doc
65+
conda install -c conda-forge doctr
66+
cd ${BUILD_DIR}/doc
6167
make html
62-
pip install doctr
68+
cd ..
6369
doctr deploy doc
6470
fi;
65-
- cd $HOME
66-
67-
script:
68-
- nosetests randomstate
69-
- cd $BUILD_DIR/randomstate
7071
- if [ ${PYTHON} = "3.5" ]; then python performance.py; fi

0 commit comments

Comments
 (0)