1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 04:30:29 +01:00

[ticket/14970] Do not output node install output in stylelint

PHPBB3-14970
This commit is contained in:
Marc Alexander 2017-01-09 22:35:01 +01:00
parent f872020c1a
commit 6a8f20a788
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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