Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 64FDD200BA0 for ; Fri, 9 Sep 2016 01:10:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 63B5B160AAD; Thu, 8 Sep 2016 23:10:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9F057160AD4 for ; Fri, 9 Sep 2016 01:10:22 +0200 (CEST) Received: (qmail 71393 invoked by uid 500); 8 Sep 2016 23:10:21 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 70916 invoked by uid 99); 8 Sep 2016 23:10:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2016 23:10:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4B00D2C1B83 for ; Thu, 8 Sep 2016 23:10:21 +0000 (UTC) Date: Thu, 8 Sep 2016 23:10:21 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-11811) CocoaPods error in cordova-lib tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Sep 2016 23:10:23 -0000 [ https://issues.apache.org/jira/browse/CB-11811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15475304#comment-15475304 ] ASF GitHub Bot commented on CB-11811: ------------------------------------- GitHub user shazron opened a pull request: https://github.com/apache/cordova-lib/pull/489 CB-11811 - Updated travis settings EXPERIMENTING. You can merge this pull request into a Git repository by running: $ git pull https://github.com/shazron/cordova-lib CB-11811 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/489.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #489 ---- commit 741b603130392da1124206a8cc26c8a0f0c51041 Author: Shazron Abdullah Date: 2016-09-08T23:09:15Z CB-11811 - Updated travis settings ---- > CocoaPods error in cordova-lib tests > ------------------------------------ > > Key: CB-11811 > URL: https://issues.apache.org/jira/browse/CB-11811 > Project: Apache Cordova > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: CordovaLib, iOS > Reporter: Shazron Abdullah > Assignee: Shazron Abdullah > > https://github.com/apache/cordova-lib/blob/3b38b5382b9a52d1fe522514b61d3ebd6016796d/cordova-lib/spec-cordova/platform.spec.js#L380 > {code} > Failures: > 1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin depending on new pod and existing pod > Message: > Expected 'CocoaPods was not found. Please install version 1.0.1 or greater from https://cocoapods.org/' to be undefined. > Stacktrace: > Error: Expected 'CocoaPods was not found. Please install version 1.0.1 or greater from https://cocoapods.org/' to be undefined. > at /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25 > at _rejected (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) > at /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 > at Promise.when (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31) > at Promise.promise.promiseDispatch (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41) > at /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44 > at flush (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17) > at process._tickCallback (node.js:415:13) > {code} > The test is now invalid, since to properly install a CocoaPod dependency in a project, cocoapods cli needs to be installed. The implementation did not check for this before (thus it didn't fail), but it does now. > There is no way to test this without CocoaPods being installed, all we can really test is if the error message is correct. > To test e2e CocoaPods, we need to separate this test as an OS X only test, and run this test on Travis CI only. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org