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 08:55:32 UTC

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

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

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


The following commit(s) were added to refs/heads/8.1.x by this push:
     new 657d8fc  Check that bin/cordova works on Travis CI (#343)
657d8fc is described below

commit 657d8fc0f05b27c6c90a96f3771811ee139a7ae4
Author: Chris Brody <ch...@gmail.com>
AuthorDate: Thu Sep 27 04:55:25 2018 -0400

    Check that bin/cordova works on Travis CI (#343)
    
    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 82c3b87..8228619 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,3 +12,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