From 6a8f20a788cc7b6a566feefde74e90d8f3696b84 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 9 Jan 2017 22:35:01 +0100 Subject: [PATCH] [ticket/14970] Do not output node install output in stylelint PHPBB3-14970 --- travis/check-stylesheet.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/travis/check-stylesheet.sh b/travis/check-stylesheet.sh index dfcf7332f2..e8d35da116 100755 --- a/travis/check-stylesheet.sh +++ b/travis/check-stylesheet.sh @@ -9,7 +9,7 @@ # the docs/CREDITS.txt file. # set -e -set -x +set +x DB=$1 TRAVIS_PHP_VERSION=$2 @@ -25,14 +25,15 @@ then # Their version of NVM is probably old. rm -rf ~/.nvm # Grab NVM. - git clone https://github.com/creationix/nvm.git ~/.nvm + git clone https://github.com/creationix/nvm.git ~/.nvm > /dev/null # Checkout the latest stable tag. # Note that you can just hardcode a preferred version here. (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) # Install the desired version of Node source ~/.nvm/nvm.sh - nvm install $TRAVIS_NODE_VERSION - npm install -g - npm install + nvm install $TRAVIS_NODE_VERSION > /dev/null + npm install -g > /dev/null + npm install > /dev/null + set -x stylelint --config ../.stylelintrc "styles/prosilver/theme/*.css" fi