Skip to content

Commit f0e03e0

Browse files
committed
treat warnings as errors
When building docs with Travis
1 parent dd3aed1 commit f0e03e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ script:
4343
- if [[ $BUILD_DOCS == false ]]; then mkdir ../tmp_test_dir; fi
4444
- if [[ $BUILD_DOCS == false ]]; then cd ../tmp_test_dir; fi
4545
- if [[ $BUILD_DOCS == false ]]; then gdb -return-child-result -batch -ex r -ex bt --args python ../matplotlib/tests.py -sv --processes=8 --process-timeout=300 $TEST_ARGS; fi
46-
- if [[ $BUILD_DOCS == true ]]; then cd doc; python make.py html --small; fi
46+
- if [[ $BUILD_DOCS == true ]]; then cd doc; python make.py html --small --warningsaserrors; fi
4747
# We don't build the LaTeX docs here, so linkchecker will complain
4848
- if [[ $BUILD_DOCS == true ]]; then touch build/html/Matplotlib.pdf; fi
4949
- if [[ $BUILD_DOCS == true ]]; then linkchecker build/html/index.html; fi

0 commit comments

Comments
 (0)