diff --git a/files/.travis.sh b/files/.travis.sh index 44d8154..a4ab329 100644 --- a/files/.travis.sh +++ b/files/.travis.sh @@ -15,7 +15,7 @@ git diff HEAD^ --name-status | grep "^D" -v | sed 's/^.\t//g' > changed_files while read FILE; do echo -n "Проверка файла $FILE на опечатки... "; - OUTPUT=$(cat "$FILE" | sed "s/$DICT_REGEXP//g" | sed 's/https\?:[^ ]*//g' | sed "s/[(][^)]*\.md[)]//g" | hunspell -d russian-aot,ru_RU,de_DE,en_US | $DIR/spell-checker); + OUTPUT=$(cat "$FILE" | sed "s/$DICT_REGEXP//gi" | sed 's/https\?:[^ ]*//g' | sed "s/[(][^)]*\.md[)]//g" | hunspell -d russian-aot,ru_RU,de_DE,en_US | $DIR/spell-checker); OUTPUT_EXIT_CODE=$? if [ $OUTPUT_EXIT_CODE -ne 0 ]; then