File tree 5 files changed +7
-2591
lines changed 5 files changed +7
-2591
lines changed Original file line number Diff line number Diff line change @@ -60,23 +60,19 @@ matrix:
60
60
apt :
61
61
packages :
62
62
- xsel
63
-
64
- # In allow_failures
65
63
- dist : trusty
66
64
env :
67
- - JOB="3.6, slow " ENV_FILE="ci/deps/travis-36-slow .yaml" PATTERN="slow"
65
+ - JOB="3.6, doc " ENV_FILE="ci/deps/travis-36-doc .yaml" DOC=true
68
66
69
67
# In allow_failures
70
68
- dist : trusty
71
69
env :
72
- - JOB="3.6, doc" ENV_FILE="ci/deps/travis-36-doc.yaml" DOC=true
70
+ - JOB="3.6, slow" ENV_FILE="ci/deps/travis-36-slow.yaml" PATTERN="slow"
71
+
73
72
allow_failures :
74
73
- dist : trusty
75
74
env :
76
75
- JOB="3.6, slow" ENV_FILE="ci/deps/travis-36-slow.yaml" PATTERN="slow"
77
- - dist : trusty
78
- env :
79
- - JOB="3.6, doc" ENV_FILE="ci/deps/travis-36-doc.yaml" DOC=true
80
76
81
77
before_install :
82
78
- echo "before_install"
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.
Original file line number Diff line number Diff line change 77
77
'contributors' , # custom pandas extension
78
78
]
79
79
80
- try :
81
- import sphinxcontrib .spelling # noqa
82
- except ImportError as err :
83
- logger .warn (('sphinxcontrib.spelling failed to import with error "{}". '
84
- '`spellcheck` command is not available.' .format (err )))
85
- else :
86
- extensions .append ('sphinxcontrib.spelling' )
87
-
88
80
exclude_patterns = ['**.ipynb_checkpoints' ]
89
81
90
- spelling_word_list_filename = ['spelling_wordlist.txt' , 'names_wordlist.txt' ]
91
- spelling_ignore_pypi_package_names = True
92
-
93
82
with open ("index.rst" ) as f :
94
83
index_rst_lines = f .readlines ()
95
84
You can’t perform that action at this time.
0 commit comments