File tree 6 files changed +47
-10
lines changed
6 files changed +47
-10
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ matrix:
42
42
- NOSE_ARGS="not slow and not disabled"
43
43
- FULL_DEPS=true
44
44
- CLIPBOARD_GUI=gtk2
45
- - DOC_BUILD=true # if rst files were changed, build docs in parallel with tests
46
45
- python : 3.4
47
46
env :
48
47
- JOB_NAME : " 34_nslow"
@@ -88,6 +87,13 @@ matrix:
88
87
- JOB_TAG=_NUMPY_DEV
89
88
- NOSE_ARGS="not slow and not network and not disabled"
90
89
- PANDAS_TESTING_MODE="deprecate"
90
+ - python : 2.7
91
+ env :
92
+ - JOB_NAME : " doc_build"
93
+ - FULL_DEPS=true
94
+ - BUILD_TYPE=conda
95
+ - DOC_BUILD=true # if rst files were changed, build docs in parallel with tests
96
+ - JOB_TAG=_DOC_BUILD
91
97
allow_failures :
92
98
- python : 2.7
93
99
env :
@@ -121,6 +127,13 @@ matrix:
121
127
- JOB_TAG=_NUMPY_DEV
122
128
- NOSE_ARGS="not slow and not network and not disabled"
123
129
- PANDAS_TESTING_MODE="deprecate"
130
+ - python : 2.7
131
+ env :
132
+ - JOB_NAME : " doc_build"
133
+ - FULL_DEPS=true
134
+ - BUILD_TYPE=conda
135
+ - DOC_BUILD=true
136
+ - JOB_TAG=_DOC_BUILD
124
137
125
138
before_install :
126
139
- echo "before_install"
@@ -149,13 +162,12 @@ before_script:
149
162
150
163
script :
151
164
- echo "script"
152
- - ci/run_build_docs.sh &
165
+ - ci/run_build_docs.sh
153
166
- ci/script.sh
154
167
# nothing here, or failed tests won't fail travis
155
168
156
169
after_script :
157
170
- ci/install_test.sh
158
- - if [ -f /tmp/doc.log ]; then cat /tmp/doc.log; fi
159
171
- source activate pandas && ci/print_versions.py
160
172
- ci/print_skipped.py /tmp/nosetests.xml
161
173
- ci/lint.sh
Original file line number Diff line number Diff line change 14
14
15
15
if [ x" $DOC_BUILD " != x" " ]; then
16
16
17
- # we're running network tests, let's build the docs in the meantime
18
17
echo " Will build docs"
19
- conda install -n pandas sphinx=1.1.3 pygments ipython=2.4 --yes
20
18
21
19
source activate pandas
20
+ conda install -n pandas -c r r rpy2 --yes
21
+
22
+ time sudo apt-get $APT_ARGS install dvipng
22
23
23
24
mv " $TRAVIS_BUILD_DIR " /doc /tmp
24
25
cd /tmp/doc
25
26
26
- rm /tmp/doc/source/api.rst # no R
27
- rm /tmp/doc/source/r_interface.rst # no R
28
-
29
27
echo # ##############################
30
28
echo # Log file for the doc build #
31
29
echo # ##############################
32
30
33
- echo -e " y\n" | ./make.py --no-api 2>&1
31
+ echo ./make.py
32
+ ./make.py
34
33
35
34
cd /tmp/doc/build/html
36
35
git config --global user.email
" [email protected] "
Original file line number Diff line number Diff line change
1
+ dateutil
2
+ pytz
3
+ numpy
4
+ cython
Original file line number Diff line number Diff line change
1
+ sphinx=1.2.3
2
+ ipython=3.2.1
3
+ nbconvert
4
+ matplotlib
5
+ scipy
6
+ lxml
7
+ beautiful-soup
8
+ html5lib
9
+ pytables
10
+ openpyxl=1.8.5
11
+ xlrd
12
+ xlwt
13
+ xlsxwriter
14
+ sqlalchemy
15
+ numexpr
16
+ bottleneck
17
+ statsmodels
Original file line number Diff line number Diff line change 2
2
3
3
echo " inside $0 "
4
4
5
- " $TRAVIS_BUILD_DIR " /ci/build_docs.sh 2>&1 > /tmp/doc.log &
5
+ " $TRAVIS_BUILD_DIR " /ci/build_docs.sh 2>&1
6
6
7
7
# wait until subprocesses finish (build_docs.sh)
8
8
wait
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ echo "inside $0"
4
4
5
5
source activate pandas
6
6
7
+ # don't run the tests for the doc build
8
+ if [ x" $DOC_BUILD " != x" " ]; then
9
+ exit 0
10
+ fi
11
+
7
12
if [ -n " $LOCALE_OVERRIDE " ]; then
8
13
export LC_ALL=" $LOCALE_OVERRIDE " ;
9
14
echo " Setting LC_ALL to $LOCALE_OVERRIDE "
You can’t perform that action at this time.
0 commit comments