From a432352601722db2621ddaae595f03acfb5a3472 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 8 Dec 2016 20:23:15 +1100 Subject: [PATCH] Travis: Only run shellcheck on linux --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 305fbc0a..ad0edd1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,11 +13,11 @@ os: - osx before_install: - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi script: - time ./neofetch --ascii --config travis --ascii_distro travis -v # See this wiki page for why we're disabling these errors. # https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions - - shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178 + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178; fi