aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-01-09 22:35:01 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-02-22 21:46:07 +0100
commit6a8f20a788cc7b6a566feefde74e90d8f3696b84 (patch)
tree17be6ef3c23e1c688a5f33edfb4a9f97445ad562 /travis/check-stylesheet.sh
parent[ticket/14970] Try using newer node version (diff)
downloadphpbb-6a8f20a788cc7b6a566feefde74e90d8f3696b84.tar.gz
phpbb-6a8f20a788cc7b6a566feefde74e90d8f3696b84.tar.bz2
phpbb-6a8f20a788cc7b6a566feefde74e90d8f3696b84.zip
[ticket/14970] Do not output node install output in stylelint
PHPBB3-14970
Diffstat (limited to 'travis/check-stylesheet.sh')
-rwxr-xr-xtravis/check-stylesheet.sh11
1 files 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