You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/03/27 18:53:39 UTC

[cordova-paramedic] branch janpio-fix_for_cordova8 created (now 5cd6e52)

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

janpio pushed a change to branch janpio-fix_for_cordova8
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git.


      at 5cd6e52  upgrade config to node 6 use already installed nvm to install node set node 6 requirement in package.json

This branch includes the following new commits:

     new 5cd6e52  upgrade config to node 6 use already installed nvm to install node set node 6 requirement in package.json

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[cordova-paramedic] 01/01: upgrade config to node 6 use already installed nvm to install node set node 6 requirement in package.json

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-fix_for_cordova8
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git

commit 5cd6e52ae5d815944efbba946fbaeff7b39587e7
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Wed Mar 27 19:53:29 2019 +0100

    upgrade config to node 6
    use already installed nvm to install node
    set node 6 requirement in package.json
---
 .travis.yml  | 18 +++++++++---------
 package.json |  2 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8c46c11..30d8a02 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,27 +1,26 @@
 sudo: false
+
 addons:
   jwt:
     secure: NJr2X/VRsRjy/6cQqrx1kVwNH8UmVq4Ns90UjHMYFeSjacczc42qOCgMfCOxN8FBa5T6H7vqGnloTdpp56Vm1BPSLqX/M3uT1gM9/yGDsgKzEC90tt2WrGSyp7C2LRs5+EF+bj5hvFd+iO4bLA7nTnOTzgxwwzzsau0ljxx1VHbVHi2xOwuK7/ShwOhxfkNEHeJ76X/1sjssKgU++tU3uUAdiBqUupqpQmWVPsxKTp4svOcNNlBKqk+SMX8EDmeU36AXC3QBMVWmpug0z55gmmGsu8bAWRo6iKc9U0B43g5Tgw3DaRs/cNNJWN3mX/04hVJFJEzHvGaTbEvOXngHyDAtuDl9FiHYZpJK3H5eRhcXAh6IQXloYnXTzEQCIaX3N9p8gpFmMgOhMPy5a0iSIv2wcU1bNtzfbD5JokJp0vLsFphSrvhlOfKwOg0pq/dU66P1MTwHj6bwmxPK+GtQu8hRY/pA/yd9 [...]
 env:
   global:
-  - SAUCE_USERNAME=snay
-  - TRAVIS_NODE_VERSION="4.2"
+    - SAUCE_USERNAME=snay
+    - TRAVIS_NODE_VERSION=6
+
+language: node_js
+node_js: 6
+
 matrix:
   include:
   - env: PLATFORM=local
     os: osx
     osx_image: xcode7.3
-    language: node_js
-    node_js: '4.2'
   - env: PLATFORM=browser-chrome
     os: linux
-    language: node_js
-    node_js: '4.2'
   - env: PLATFORM=ios-10.0
     os: osx
     osx_image: xcode7.3
-    language: node_js
-    node_js: '4.2'
   - env: PLATFORM=android-7.0
     os: linux
     language: android
@@ -32,7 +31,6 @@ matrix:
       - extra-android-m2repository
       - build-tools-26.0.2
 before_install:
-- 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
 - if [[ "$PLATFORM" =~ android ]]; then gradle --version; fi
 - if [[ "$PLATFORM" =~ local ]]; then npm install -g ios-deploy; fi
@@ -40,6 +38,8 @@ before_install:
 - if [[ "$PLATFORM" =~ android ]]; then echo y | android update sdk -u --filter android-22,android-23,android-24,android-25,android-26,android-27;
   fi
 - npm install -g cordova
+  # `language: android` has no Node.js installed, therefore we need to install it manually
+  - if [[ "$PLATFORM" =~ android ]]; then nvm install $TRAVIS_NODE_VERSION; fi
 install:
 - npm install
 script:
diff --git a/package.json b/package.json
index 02078e2..b0f1466 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
     "cordova-paramedic": "./main.js"
   },
   "engines": {
-    "node": ">=4.3.0"
+    "node": ">=6"
   },
   "repository": {
     "type": "git",


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