Repository: cordova-lib
Updated Branches:
  refs/heads/master e7f3e624d -> 3b2a1fc43


CB-11994 - appveyor tests on cordova-lib are not testing on all node versions

 This closes #503


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/3b2a1fc4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/3b2a1fc4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/3b2a1fc4

Branch: refs/heads/master
Commit: 3b2a1fc43b4b052fcde9c953a22609eafb4c9d23
Parents: e7f3e62
Author: Shazron Abdullah <shaz...@apache.org>
Authored: Wed Oct 12 11:58:34 2016 -0700
Committer: Shazron Abdullah <shaz...@apache.org>
Committed: Thu Oct 13 14:06:47 2016 -0700

----------------------------------------------------------------------
 appveyor.yml | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/3b2a1fc4/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
index 977bf92..a8070c4 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -9,6 +9,7 @@ environment:
   - nodejs_version: "6"
   
 install:
+  - ps: Install-Product node $env:nodejs_version
   - git clone https://github.com/apache/cordova-js --depth 10
   - cd cordova-lib
   - npm link ../cordova-js
@@ -20,6 +21,14 @@ install:
   - cd ../cordova-lib
   - npm link ../cordova-fetch
   - npm install
+  # Workaround for npm/npm#10343 when dependency of linked module is moved to 
dependent
+  # module's 'node_modules' In our case 'cordova-common' -> jshint' -> 'cli' 
dependency
+  # is moved to 'cordova-lib' and hence 'npm run jshint' on 'cordova-common' 
is failing
+  - cd ../cordova-common
+  - npm install
+  - cd ../cordova-fetch
+  - npm install
+  - npm link ../cordova-common
 
 build: off
 


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

Reply via email to