Skip to content

Commit dc94b71

Browse files
authored
Merge pull request wpengine#170 from wpengine/update-node
Update Node in Travis.
2 parents df3be18 + 4e0203d commit dc94b71

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.travis.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ 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+
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 8
2425
- composer install
2526
- npm install
2627
- bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
@@ -33,6 +34,6 @@ before_script:
3334
fi
3435
3536
36-
script:
37+
script:
3738
- phpunit
3839
- npm test

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
"name": "php-compatibility-checker",
33
"devDependencies": {
44
"grunt": "^0.4.5",
5-
"grunt-wp-readme-to-markdown": "^2.0.0",
6-
"node-qunit-phantomjs": "^1.4.0",
5+
"grunt-cli": "^1.2.0",
76
"grunt-phpcs": "^0.4.0",
8-
"grunt-phplint": "0.0.8"
7+
"grunt-phplint": "0.0.8",
8+
"grunt-wp-readme-to-markdown": "^2.0.0",
9+
"node-qunit-phantomjs": "^1.4.0"
910
},
1011
"scripts": {
1112
"test": "npm run test:lint && npm run test:qunit",

0 commit comments

Comments
 (0)