summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsommersoft <sommersoft@gmail.com>2019-07-10 18:32:01 -0500
committersommersoft <sommersoft@gmail.com>2019-07-10 18:32:01 -0500
commitdb702053c3db54c5ff817ba536e82a74de8048c6 (patch)
tree5d4b40b28e0f740b300d68602446a87bc15be964
parentfce1efc74c0397447a79c94701b9f17cc9038d91 (diff)
properly group doc commands so non-doc builds don't fail
-rwxr-xr-x.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index c9306e3d3..c5f4f721a 100755
--- a/.travis.yml
+++ b/.travis.yml
@@ -129,7 +129,7 @@ script:
- echo 'travis_fold:end:test_mpy' && tools/print_status.py status
- (echo 'Building docs' && echo 'travis_fold:start:build_docs')
- - (! var_search "${TRAVIS_TESTS-}" docs || python3 -m docs.shared_bindings_matrix ; sphinx-build -E -W -b html . _build/html) ; S=$? ; echo $S > status ; (exit $S)
+ - (! var_search "${TRAVIS_TESTS-}" docs || (python3 -m docs.shared_bindings_matrix && sphinx-build -E -W -b html . _build/html)) ; S=$? ; echo $S > status ; (exit $S)
- echo 'travis_fold:end:build_docs' && tools/print_status.py status
- (echo 'Building translations' && echo 'travis_fold:start:build_translations')