File tree Expand file tree Collapse file tree 5 files changed +20
-14
lines changed
Expand file tree Collapse file tree 5 files changed +20
-14
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ before_script:
180180
181181script :
182182 - echo "script"
183+ - ci/run_build_docs.sh &
183184 - ci/script.sh
184185# nothing here, or failed tests won't fail travis
185186
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3-
43cd " $TRAVIS_BUILD_DIR "
4+ echo " inside $0 "
55
66git show --pretty=" format:" --name-only HEAD~5.. --first-parent | grep -P " rst|txt|doc"
77
@@ -16,18 +16,20 @@ if [ x"$DOC_BUILD" != x"" ]; then
1616
1717 # we're running network tests, let's build the docs in the meantime
1818 echo " Will build docs"
19- pip install sphinx==1.1.3 ipython
19+ conda install -n pandas sphinx=1.1.3 pygments ipython=2.4 --yes
20+
21+ source activate pandas
2022
2123 mv " $TRAVIS_BUILD_DIR " /doc /tmp
2224 cd /tmp/doc
2325
2426 rm /tmp/doc/source/api.rst # no R
2527 rm /tmp/doc/source/r_interface.rst # no R
2628
27- echo # ############################## > /tmp/doc.log
28- echo # Log file for the doc build # > /tmp/doc.log
29- echo # ############################## > /tmp/doc.log
30- echo " " > /tmp/doc.log
29+ echo # ##############################
30+ echo # Log file for the doc build #
31+ echo # ##############################
32+
3133 echo -e " y\n" | ./make.py --no-api 2>&1
3234
3335 cd /tmp/doc/build/html
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ echo " inside $0 "
4+
5+ " $TRAVIS_BUILD_DIR " /ci/build_docs.sh 2>&1 > /tmp/doc.log &
6+
7+ # wait until subprocesses finish (build_docs.sh)
8+ wait
9+
10+ exit 0
Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ if [ -n "$LOCALE_OVERRIDE" ]; then
1212 python -c " $pycmd "
1313fi
1414
15- # conditionally build and upload docs to GH/pandas-docs/pandas-docs/travis
16- " $TRAVIS_BUILD_DIR " /ci/build_docs.sh 2>&1 > /tmp/doc.log &
17- # doc build log will be shown after tests
18-
1915if [ " $BUILD_TEST " ]; then
2016 echo " We are not running nosetests as this is simply a build test."
2117else
2521
2622RET=" $? "
2723
28- # wait until subprocesses finish (build_docs.sh)
29- wait
30-
3124exit " $RET "
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ First we're going to need to import the cython magic function to ipython:
9898
9999.. ipython :: python
100100
101- % load_ext Cython
101+ % load_ext cythonmagic
102102
103103
104104 Now, let's simply copy our functions over to cython as is (the suffix
You can’t perform that action at this time.
0 commit comments