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 2018/02/15 14:36:52 UTC

[cordova-windows] branch master updated: CB-13877 more env information about msbuild and visual studio on appveyor (#257)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5c63161  CB-13877 more env information about msbuild and visual studio on appveyor (#257)
5c63161 is described below

commit 5c63161b26194b1953c9bee1e2a994eb0dc74e01
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Thu Feb 15 15:36:50 2018 +0100

    CB-13877 more env information about msbuild and visual studio on appveyor (#257)
    
    * more env information about msbuild and visual studio on appveyor
    
    * now?
    
    * maybe now?
    
    * remove which
    
    * more "
    
    * add where
    
    * add legacy
    
    * check for file existance
    
    * remove where
    
    * better IF
---
 appveyor.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index a52ea36..382664e 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -36,5 +36,9 @@ build: off
 test_script:
   - node --version
   - npm --version
-  - msbuild /version
-  - npm test
\ No newline at end of file
+  - msbuild -version -nologo
+  - where msbuild
+  - IF NOT EXIST "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" ( echo "no vswhere" ) ELSE "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -property installationPath -products * -all"
+  - IF NOT EXIST "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" ( echo "no vswhere" ) ELSE "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -property installationPath -all"
+  - IF NOT EXIST "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" ( echo "no vswhere" ) ELSE "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -property installationPath -legacy"
+  - npm test

-- 
To stop receiving notification emails like this one, please contact
janpio@apache.org.

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