Skip to content
Permalink
Browse files

fix print spell check progress on Travis to avoid timeouts (followup 6…

  • Loading branch information
3nids committed Feb 21, 2017
1 parent 7234255 commit 293e1ee01ca47a5402b53464ab60aaa7a2325a15
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/spell_check/check_spelling.sh
@@ -28,7 +28,7 @@ if [[ "$OSTYPE" =~ darwin* ]]; then
fi

# ARGUMENTS
INTERACTIVE=$( ( tty -s || [[ "$TRAVIS" =~ true ]] ) && echo YES || echo NO)
INTERACTIVE=$( tty -s && echo YES || echo NO)
DEBUG=NO
OUTPUTLOG=""
while getopts ":rdl:" opt; do
@@ -77,7 +77,7 @@ declare -A GLOBREP_IGNORE=()
ERRORFOUND=NO

for I in $(seq -f '%02g' 0 $(($SPLIT-1)) ) ; do
[[ "$INTERACTIVE" =~ YES ]] && printf "Progress: %d/%d\n" $I $SPLIT
( [[ "$INTERACTIVE" =~ YES ]] || [[ "$TRAVIS" =~ true ]] ) && printf "Progress: %d/%d\n" $I $SPLIT
SPELLFILE=spelling$I~

# if correction contains an uppercase letter and is the same as the error character wise, this means that the error is searched as a full word and case sensitive (not incorporated in a bigger one)

0 comments on commit 293e1ee

Please sign in to comment.
You can’t perform that action at this time.