File tree 4 files changed +7
-12
lines changed
4 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ before_script:
112
112
script :
113
113
- echo "script start"
114
114
- source activate pandas-dev
115
- - ci/run_build_docs .sh
115
+ - ci/build_docs .sh
116
116
- ci/run_tests.sh
117
117
118
118
after_script :
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ set -e
4
+
3
5
if [ " ${TRAVIS_OS_NAME} " != " linux" ]; then
4
6
echo " not doing build_docs on non-linux"
5
7
exit 0
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -214,7 +214,10 @@ def _run_os(*args):
214
214
# TODO check_call should be more safe, but it fails with
215
215
# exclude patterns, needs investigation
216
216
# subprocess.check_call(args, stderr=subprocess.STDOUT)
217
- os .system (' ' .join (args ))
217
+ exit_status = os .system (' ' .join (args ))
218
+ if exit_status :
219
+ msg = 'Command "{}" finished with exit code {}'
220
+ raise RuntimeError (msg .format (' ' .join (args ), exit_status ))
218
221
219
222
def _sphinx_build (self , kind ):
220
223
"""Call sphinx to build documentation.
You can’t perform that action at this time.
0 commit comments