You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2018/09/11 14:08:31 UTC
[cordova-osx] branch master updated: Add Node 10 & Drop Node 4
Support
This is an automated email from the ASF dual-hosted git repository.
dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-osx.git
The following commit(s) were added to refs/heads/master by this push:
new ffcf496 Add Node 10 & Drop Node 4 Support
ffcf496 is described below
commit ffcf496bb2c3382523c217220a50fcbf690b0ee7
Author: エリス <el...@gmail.com>
AuthorDate: Tue Sep 11 16:54:35 2018 +0900
Add Node 10 & Drop Node 4 Support
---
.travis.yml | 18 ++++++++++++++++--
package.json | 3 +++
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index b151b0b..c912dd7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,19 @@
language: objective-c
sudo: false
+
+env:
+ matrix:
+ - TRAVIS_NODE_VERSION: '6'
+ - TRAVIS_NODE_VERSION: '8'
+ - TRAVIS_NODE_VERSION: '10'
+
+before_install:
+ - nvm install $TRAVIS_NODE_VERSION
+
install:
-- npm install
-script: "npm test"
\ No newline at end of file
+ - npm install
+
+script:
+ - node --version
+ - npm --version
+ - npm test
diff --git a/package.json b/package.json
index 0e2dd06..cc16d1a 100644
--- a/package.json
+++ b/package.json
@@ -54,5 +54,8 @@
"nodeunit": "^0.8.7",
"tmp": "^0.0.26",
"uncrustify": "^0.6.1"
+ },
+ "engines": {
+ "node": ">=6.0.0"
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org