File tree Expand file tree Collapse file tree 4 files changed +7
-12
lines changed
Expand file tree Collapse file tree 4 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ before_script:
112112script :
113113 - echo "script start"
114114 - source activate pandas-dev
115- - ci/run_build_docs .sh
115+ - ci/build_docs .sh
116116 - ci/run_tests.sh
117117
118118after_script :
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ set -e
4+
35if [ " ${TRAVIS_OS_NAME} " != " linux" ]; then
46 echo " not doing build_docs on non-linux"
57 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):
214214 # TODO check_call should be more safe, but it fails with
215215 # exclude patterns, needs investigation
216216 # 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 ))
218221
219222 def _sphinx_build (self , kind ):
220223 """Call sphinx to build documentation.
You can’t perform that action at this time.
0 commit comments