Updated the before_script instructions to correctly install node and print out version.
This commit is contained in:
parent
ef72b7af2c
commit
e318463dd5
|
@ -5,16 +5,18 @@ php:
|
||||||
- 7.1
|
- 7.1
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- WP_VERSION=latest WP_MULTISITE=0 RUN_PHPCS=1 WP_CORE_DIR=/tmp/wordpress
|
- WP_VERSION=latest WP_MULTISITE=0 RUN_PHPCS=1 WP_CORE_DIR=/tmp/wordpress NODE_RELEASE=8.x
|
||||||
- NODE_RELEASE=8.x
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- phpenv config-rm xdebug.ini
|
- phpenv config-rm xdebug.ini
|
||||||
- export PATH="$HOME/.composer/vendor/bin:$PATH"
|
- export PATH="$HOME/.composer/vendor/bin:$PATH"
|
||||||
- bash bin/install-wp-tests.sh wc_admin_test root '' localhost $WP_VERSION
|
- bash bin/install-wp-tests.sh wc_admin_test root '' localhost $WP_VERSION
|
||||||
- bash bin/travis.sh before
|
- bash bin/travis.sh before
|
||||||
- sudo rm -rf ~/.nvm - curl -sL "https://deb.nodesource.com/setup_${NODE_RELEASE}" | sudo -E bash -
|
- sudo rm -rf ~/.nvm
|
||||||
|
- curl -sL "https://deb.nodesource.com/setup_${NODE_RELEASE}" | sudo -E bash -
|
||||||
- sudo apt-get install -y nodejs
|
- sudo apt-get install -y nodejs
|
||||||
|
- node --version
|
||||||
|
- npm --version
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
Loading…
Reference in New Issue