You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/07/03 08:42:51 UTC

[cordova-paramedic] 01/01: ci(appveyor): try some more things

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

janpio pushed a commit to branch janpio-appveyor
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git

commit 6469f8f849cd2c12b07a1b376d13fd1ff1e7ae1b
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Wed Jul 3 10:42:44 2019 +0200

    ci(appveyor): try some more things
---
 appveyor.yml | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index e4e7a1c..d44ec76 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,14 +1,36 @@
 # appveyor file
 # http://www.appveyor.com/docs/appveyor-yml
 
+shallow_clone: true
+
+init:
+  - git config --global core.autocrlf true
+
+image:
+  - Visual Studio 2017
+
+environment:
+  PLATFORM: windows-10-store
+#  JUST_BUILD: --justBuild # why?
+  matrix:
+    - nodejs_version: "12"
+
+platform:
+  - x86
+  - x64
+
 install:
-  - npm install cordova
+  - ps: Install-Product node $env:nodejs_version
+  - node --version
+  - npm --version
+#  - npm install -g cordova-paramedic@https://github.com/apache/cordova-paramedic.git # this should only be done when used on plugin repo - if/else?
   - npm install
   - npm link
+  - npm install -g cordova
 
 build: off
 
 test_script:
-  - node --version
-  - npm --version
-  - npm run test-appveyor
\ No newline at end of file
+  - cordova-paramedic --config pr\%PLATFORM% --plugin . %JUST_BUILD%
+  - npm run test-appveyor
+  


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