Skip to content

Commit db70205

Browse files
committed
properly group doc commands so non-doc builds don't fail
1 parent fce1efc commit db70205

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ script:
129129
- echo 'travis_fold:end:test_mpy' && tools/print_status.py status
130130

131131
- (echo 'Building docs' && echo 'travis_fold:start:build_docs')
132-
- (! 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)
132+
- (! 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)
133133
- echo 'travis_fold:end:build_docs' && tools/print_status.py status
134134

135135
- (echo 'Building translations' && echo 'travis_fold:start:build_translations')

0 commit comments

Comments
 (0)