You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by br...@apache.org on 2018/08/02 01:34:41 UTC

[cordova-ios] branch master updated: CB-14074 ios: Remove Node 4 from CI (#375)

This is an automated email from the ASF dual-hosted git repository.

brodybits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git


The following commit(s) were added to refs/heads/master by this push:
     new f628f61  CB-14074 ios: Remove Node 4 from CI (#375)
f628f61 is described below

commit f628f61d90a8d27613b5b6e46e3b54d5b4358955
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Thu Aug 2 10:34:39 2018 +0900

    CB-14074 ios: Remove Node 4 from CI (#375)
    
    - Drops Node 4 from travis and appveyor
    - Increase the engine requirement of node in package.json
    - Added engineStrict to package.json. (Match with other platforms e.g cordova-android)
    - Cleanup .travis.yml
---
 .travis.yml  | 35 ++++++++++++++++-------------------
 appveyor.yml |  1 -
 package.json |  3 ++-
 3 files changed, 18 insertions(+), 21 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index d8fbb6f..a915fe1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,30 +4,27 @@ sudo: false
 
 env:
   matrix:
-  - TRAVIS_NODE_VERSION: '4.8.7'
-  - TRAVIS_NODE_VERSION: '6.13'
-  - TRAVIS_NODE_VERSION: '8'
-  - TRAVIS_NODE_VERSION: '10'
+    - TRAVIS_NODE_VERSION: '6'
+    - TRAVIS_NODE_VERSION: '8'
+    - TRAVIS_NODE_VERSION: '10'
 
 before_install:
-- npm cache clean -f
-- 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 $TRAVIS_NODE_VERSION
-- node --version
+  - nvm install $TRAVIS_NODE_VERSION
 
 install:
-- npm install
-- npm install ios-deploy
-- npm install -g codecov
+  - npm install
+  - npm install ios-deploy
+  - npm install -g codecov
 
 script:
-    - npm run unit-tests
-    - npm run e2e-tests
-    - open -b com.apple.iphonesimulator    
-    - npm run objc-tests
-    - npm run cover
-    - npm run eslint
+  - node --version
+  - npm --version
+  - npm run unit-tests
+  - npm run e2e-tests
+  - open -b com.apple.iphonesimulator
+  - npm run objc-tests
+  - npm run cover
+  - npm run eslint
 
 after_script:
-    - codecov
+  - codecov
diff --git a/appveyor.yml b/appveyor.yml
index b714cc3..88c1e06 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,6 +1,5 @@
 environment:
   matrix:
-  - nodejs_version: "4"
   - nodejs_version: "6"
   - nodejs_version: "8"
   - nodejs_version: "10"
diff --git a/package.json b/package.json
index e9ab39e..74bf1bf 100644
--- a/package.json
+++ b/package.json
@@ -46,8 +46,9 @@
     "tmp": "^0.0.26"
   },
   "engines": {
-    "node": ">=4"
+    "node": ">=6"
   },
+  "engineStrict": true,
   "dependencies": {
     "cordova-common": "2.1.0",
     "ios-sim": "^6.1.2",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org