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/29 11:16:47 UTC

[cordova-paramedic] branch master updated: Make Paramedic CI work with Cordova CLI 8 (and respective platforms): node 6, xcode9, android28 and built-tools 28.0.3 (#102)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 71678c2  Make Paramedic CI work with Cordova CLI 8 (and respective platforms): node 6, xcode9, android28 and built-tools 28.0.3 (#102)
71678c2 is described below

commit 71678c2e95df9e24b96260c0a4ec04c71d77b497
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Fri Mar 29 12:16:43 2019 +0100

    Make Paramedic CI work with Cordova CLI 8 (and respective platforms): node 6, xcode9, android28 and built-tools 28.0.3 (#102)
    
    - Use Node 6 (via nvm already present, instead of installing manually)
    - Use Xcode 9
    - Use Android build-tools-28.0.3
    - Install Android API 28
    
    Fixes #99
---
 .travis.yml  | 33 +++++++++++++++------------------
 package.json |  2 +-
 2 files changed, 16 insertions(+), 19 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8c46c11..a2c4773 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'
+    osx_image: xcode9
   - 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'
+    osx_image: xcode9
   - env: PLATFORM=android-7.0
     os: linux
     language: android
@@ -30,24 +29,22 @@ matrix:
       components:
       - tools
       - extra-android-m2repository
-      - build-tools-26.0.2
+      - build-tools-28.0.3
 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
+# `language: android` has no Node.js installed, therefore we need to install it manually
+- if [[ "$PLATFORM" =~ android ]]; then nvm install $TRAVIS_NODE_VERSION; fi
 - node --version
 - if [[ "$PLATFORM" =~ android ]]; then gradle --version; fi
 - if [[ "$PLATFORM" =~ local ]]; then npm install -g ios-deploy; fi
 - if [[ "$PLATFORM" =~ ios ]]; then npm install -g ios-deploy; fi
-- if [[ "$PLATFORM" =~ android ]]; then echo y | android update sdk -u --filter android-22,android-23,android-24,android-25,android-26,android-27;
+- if [[ "$PLATFORM" =~ android ]]; then echo y | android update sdk -u --filter android-22,android-23,android-24,android-25,android-26,android-27,android-28;
   fi
 - npm install -g cordova
 install:
 - npm install
+
 script:
 - if [[ "$PLATFORM" =~ local ]]; then npm run test-browser; fi
 - if [[ "$PLATFORM" =~ local ]]; then npm run test-ios; fi
 - if [[ "$PLATFORM" =~ TODO ]]; then npm run test-android; fi
-- if [[ "$PLATFORM" != local ]]; then
-  node main.js --config ./pr/$PLATFORM --plugin ./spec/testable-plugin/ --shouldUseSauce 
-  --buildName travis-paramedic-$TRAVIS_JOB_NUMBER;
-  fi
-
+- if [[ "$PLATFORM" != local ]]; then node main.js --config ./pr/$PLATFORM --plugin ./spec/testable-plugin/ --shouldUseSauce --buildName travis-paramedic-$TRAVIS_JOB_NUMBER; fi
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