mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
[ticket/14970] Do not output node install output in stylelint
PHPBB3-14970
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
# the docs/CREDITS.txt file.
|
# the docs/CREDITS.txt file.
|
||||||
#
|
#
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set +x
|
||||||
|
|
||||||
DB=$1
|
DB=$1
|
||||||
TRAVIS_PHP_VERSION=$2
|
TRAVIS_PHP_VERSION=$2
|
||||||
@@ -25,14 +25,15 @@ then
|
|||||||
# Their version of NVM is probably old.
|
# Their version of NVM is probably old.
|
||||||
rm -rf ~/.nvm
|
rm -rf ~/.nvm
|
||||||
# Grab 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.
|
# Checkout the latest stable tag.
|
||||||
# Note that you can just hardcode a preferred version here.
|
# Note that you can just hardcode a preferred version here.
|
||||||
(cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`)
|
(cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`)
|
||||||
# Install the desired version of Node
|
# Install the desired version of Node
|
||||||
source ~/.nvm/nvm.sh
|
source ~/.nvm/nvm.sh
|
||||||
nvm install $TRAVIS_NODE_VERSION
|
nvm install $TRAVIS_NODE_VERSION > /dev/null
|
||||||
npm install -g
|
npm install -g > /dev/null
|
||||||
npm install
|
npm install > /dev/null
|
||||||
|
set -x
|
||||||
stylelint --config ../.stylelintrc "styles/prosilver/theme/*.css"
|
stylelint --config ../.stylelintrc "styles/prosilver/theme/*.css"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user