diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-01-09 22:35:01 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-02-22 21:46:07 +0100 |
commit | 6a8f20a788cc7b6a566feefde74e90d8f3696b84 (patch) | |
tree | 17be6ef3c23e1c688a5f33edfb4a9f97445ad562 /travis/check-stylesheet.sh | |
parent | [ticket/14970] Try using newer node version (diff) | |
download | phpbb-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-x | travis/check-stylesheet.sh | 11 |
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 |