travis: Test for line length

This commit is contained in:
Dylan Araps 2017-08-02 12:44:33 +10:00
parent aaba03f0a9
commit 5dedfd22b2
1 changed files with 1 additions and 1 deletions

View File

@ -21,4 +21,4 @@ script:
# See this wiki page for why we're disabling these errors. # See this wiki page for why we're disabling these errors.
# https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions # https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178,SC2010; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178,SC2010; fi
- ! grep '.\{101\}' neofetch - if grep '.\{101\}' neofetch; then (exit 1); else (exit 0); fi