File tree 5 files changed +20
-14
lines changed
5 files changed +20
-14
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ before_script:
180
180
181
181
script :
182
182
- echo "script"
183
+ - ci/run_build_docs.sh &
183
184
- ci/script.sh
184
185
# nothing here, or failed tests won't fail travis
185
186
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
-
4
3
cd " $TRAVIS_BUILD_DIR "
4
+ echo " inside $0 "
5
5
6
6
git show --pretty=" format:" --name-only HEAD~5.. --first-parent | grep -P " rst|txt|doc"
7
7
@@ -16,18 +16,20 @@ if [ x"$DOC_BUILD" != x"" ]; then
16
16
17
17
# we're running network tests, let's build the docs in the meantime
18
18
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
20
22
21
23
mv " $TRAVIS_BUILD_DIR " /doc /tmp
22
24
cd /tmp/doc
23
25
24
26
rm /tmp/doc/source/api.rst # no R
25
27
rm /tmp/doc/source/r_interface.rst # no R
26
28
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
+
31
33
echo -e " y\n" | ./make.py --no-api 2>&1
32
34
33
35
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
12
12
python -c " $pycmd "
13
13
fi
14
14
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
-
19
15
if [ " $BUILD_TEST " ]; then
20
16
echo " We are not running nosetests as this is simply a build test."
21
17
else
25
21
26
22
RET=" $? "
27
23
28
- # wait until subprocesses finish (build_docs.sh)
29
- wait
30
-
31
24
exit " $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:
98
98
99
99
.. ipython :: python
100
100
101
- % load_ext Cython
101
+ % load_ext cythonmagic
102
102
103
103
104
104
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