Skip to content

Commit 3c96bfa

Browse files
committed
Update Node.js.
1 parent df3be18 commit 3c96bfa

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ matrix:
1818
- php: 5.6
1919
env: WP_VERSION=latest WP_MULTISITE=1
2020
allow_failures:
21-
- php: 5.2
22-
21+
- php: 5.2
22+
2323
before_script:
24+
- curl -o ~/.nvm/nvm.sh https://raw.githubusercontent.com/creationix/nvm/v0.31.0/nvm.sh # update nvm
25+
- bash -c "nvm use 8.9.1" || true
26+
- bash -c "source ~/.nvm/nvm.sh; nvm install $NODE_JS_VERSION; node --version"
2427
- composer install
2528
- npm install
2629
- bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
@@ -33,6 +36,6 @@ before_script:
3336
fi
3437
3538
36-
script:
39+
script:
3740
- phpunit
3841
- npm test

0 commit comments

Comments
 (0)