mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/14970] Do not output node install output in stylelint
PHPBB3-14970
This commit is contained in:
parent
f872020c1a
commit
6a8f20a788
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue