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/09/27 09:19:35 UTC

[cordova-cli] branch master updated: Check that bin/cordova works on Travis CI (#343) (#344)

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-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new b92a86e  Check that bin/cordova works on Travis CI (#343) (#344)
b92a86e is described below

commit b92a86e4acc746818c8bb84fc1ca2c80b5aa9573
Author: Chris Brody <ch...@gmail.com>
AuthorDate: Thu Sep 27 05:19:29 2018 -0400

    Check that bin/cordova works on Travis CI (#343) (#344)
    
    Ensure that bin script actually runs on current Node.js version
    to detect and avoid bugs such as apache/cordova-cli#339
    
    Co-authored-by: Christopher J. Brody <ch...@gmail.com>
    Co-authored-by: Jan Piotrowski <pi...@gmail.com>
---
 .travis.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index e13dac7..4105e07 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,3 +11,9 @@ node_js:
   - "6"
   - "8"
   - "10"
+
+before_script:
+  # Ensure that bin script actually runs on used Node.js version
+  # to detect and avoid bugs such as apache/cordova-cli#339
+  # (<https://github.com/apache/cordova-cli/issues/339>)
+  - ./bin/cordova --version


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