mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/14970] Try using newer node version
PHPBB3-14970
This commit is contained in:
parent
1be84e0233
commit
f872020c1a
1 changed files with 14 additions and 0 deletions
|
@ -18,6 +18,20 @@ NOTESTS=$3
|
||||||
if [ "$NOTESTS" == '1' ]
|
if [ "$NOTESTS" == '1' ]
|
||||||
then
|
then
|
||||||
cd phpBB
|
cd phpBB
|
||||||
|
# Define a node version.
|
||||||
|
TRAVIS_NODE_VERSION="4"
|
||||||
|
|
||||||
|
# Clear out whatever version of NVM Travis has.
|
||||||
|
# Their version of NVM is probably old.
|
||||||
|
rm -rf ~/.nvm
|
||||||
|
# Grab NVM.
|
||||||
|
git clone https://github.com/creationix/nvm.git ~/.nvm
|
||||||
|
# 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 -g
|
||||||
npm install
|
npm install
|
||||||
stylelint --config ../.stylelintrc "styles/prosilver/theme/*.css"
|
stylelint --config ../.stylelintrc "styles/prosilver/theme/*.css"
|
||||||
|
|
Loading…
Add table
Reference in a new issue