Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #418 from pllim/fix-docs-only-again
Browse files Browse the repository at this point in the history
BUG: Fix broken [docs only] directive
  • Loading branch information
bsipocz authored Sep 17, 2019
2 parents c7b21c0 + b432f78 commit 922b7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis/setup_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if [[ ! -z $(echo ${COMMIT_MESSAGE} | grep -E "${TR_SKIP}") ]]; then
echo "Travis was requested to be skipped by the commit message, exiting."
travis_terminate 0
elif [[ ! -z $(echo ${COMMIT_MESSAGE} | grep -E "${DOCS_ONLY}") ]]; then
if ! [[ $SETUP_CMD =~ build_docs|build_sphinx|pycodestyle|flake8|pep8 ]] && [[ MAIN_CMD =~ pycodestyle|flake8|pep8 ]]; then
if [[ ! $SETUP_CMD =~ build_docs|build_sphinx|pycodestyle|pylint|flake8|pep8 ]] && [[ ! $MAIN_CMD =~ pycodestyle|pylint|flake8|pep8 ]]; then
# we also allow the style checkers to run here
echo "Only docs build was requested by the commit message, exiting."
travis_terminate 0
Expand Down

0 comments on commit 922b7d1

Please sign in to comment.