From b92a86e4acc746818c8bb84fc1ca2c80b5aa9573 Mon Sep 17 00:00:00 2001 From: Chris Brody Date: Thu, 27 Sep 2018 05:19:29 -0400 Subject: [PATCH] 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 Co-authored-by: Jan Piotrowski --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index e13dac7db..4105e072a 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 + # () + - ./bin/cordova --version