Tried to add x64 bit back to the matrix
This commit is contained in:
parent
ae2f09b5cf
commit
40084610a4
28
appveyor.yml
28
appveyor.yml
|
@ -18,7 +18,7 @@ environment:
|
||||||
PHP_DEPSVER: 7.0
|
PHP_DEPSVER: 7.0
|
||||||
PHP_SDK: c:\projects\php
|
PHP_SDK: c:\projects\php
|
||||||
matrix:
|
matrix:
|
||||||
- BUILD_PLATFORM: x86
|
- BUILD_PLATFORM: x64
|
||||||
TEST_PHP_SQL_SERVER: (local)\SQL2016
|
TEST_PHP_SQL_SERVER: (local)\SQL2016
|
||||||
SQL_INSTANCE: SQL2016
|
SQL_INSTANCE: SQL2016
|
||||||
PHP_VC: 14
|
PHP_VC: 14
|
||||||
|
@ -26,7 +26,7 @@ environment:
|
||||||
PHP_MINOR_VER: latest
|
PHP_MINOR_VER: latest
|
||||||
PHP_SDK_DIR: c:\projects\php\x86
|
PHP_SDK_DIR: c:\projects\php\x86
|
||||||
PHP_INSTALL_DIR: c:\projects\php\x86\bin
|
PHP_INSTALL_DIR: c:\projects\php\x86\bin
|
||||||
platform: x86
|
platform: x64
|
||||||
- BUILD_PLATFORM: x86
|
- BUILD_PLATFORM: x86
|
||||||
TEST_PHP_SQL_SERVER: (local)\SQL2012SP1
|
TEST_PHP_SQL_SERVER: (local)\SQL2012SP1
|
||||||
SQL_INSTANCE: SQL2012SP1
|
SQL_INSTANCE: SQL2012SP1
|
||||||
|
@ -37,7 +37,7 @@ environment:
|
||||||
PHP_INSTALL_DIR: c:\projects\php\x86\bin
|
PHP_INSTALL_DIR: c:\projects\php\x86\bin
|
||||||
PHP_ZTS: --disable-zts
|
PHP_ZTS: --disable-zts
|
||||||
platform: x86
|
platform: x86
|
||||||
- BUILD_PLATFORM: x86
|
- BUILD_PLATFORM: x64
|
||||||
TEST_PHP_SQL_SERVER: (local)\SQL2014
|
TEST_PHP_SQL_SERVER: (local)\SQL2014
|
||||||
SQL_INSTANCE: SQL2014
|
SQL_INSTANCE: SQL2014
|
||||||
PHP_VC: 14
|
PHP_VC: 14
|
||||||
|
@ -45,7 +45,7 @@ environment:
|
||||||
PHP_MINOR_VER: latest
|
PHP_MINOR_VER: latest
|
||||||
PHP_SDK_DIR: c:\projects\php\x86
|
PHP_SDK_DIR: c:\projects\php\x86
|
||||||
PHP_INSTALL_DIR: c:\projects\php\x86\bin
|
PHP_INSTALL_DIR: c:\projects\php\x86\bin
|
||||||
platform: x86
|
platform: x64
|
||||||
- BUILD_PLATFORM: x86
|
- BUILD_PLATFORM: x86
|
||||||
TEST_PHP_SQL_SERVER: (local)\SQL2008R2SP2
|
TEST_PHP_SQL_SERVER: (local)\SQL2008R2SP2
|
||||||
SQL_INSTANCE: SQL2008R2SP2
|
SQL_INSTANCE: SQL2008R2SP2
|
||||||
|
@ -127,11 +127,7 @@ install:
|
||||||
- ps: Get-Content ${env:APPVEYOR_BUILD_FOLDER}\test\functional\pdo_sqlsrv\MsSetup.inc
|
- ps: Get-Content ${env:APPVEYOR_BUILD_FOLDER}\test\functional\pdo_sqlsrv\MsSetup.inc
|
||||||
- ps: (Get-Content ${env:APPVEYOR_BUILD_FOLDER}\test\functional\sqlsrv\MsSetup.inc) | ForEach-Object { $_ -replace "TARGET_SERVER", ${env:TEST_PHP_SQL_SERVER} -replace "TARGET_DATABASE", ${env:SQLSRV_DBNAME} -replace "TARGET_USERNAME", ${env:TEST_PHP_SQL_UID} -replace "TARGET_PASSWORD", ${env:TEST_PHP_SQL_PWD} } | Set-Content ${env:APPVEYOR_BUILD_FOLDER}\test\functional\sqlsrv\MsSetup.inc
|
- ps: (Get-Content ${env:APPVEYOR_BUILD_FOLDER}\test\functional\sqlsrv\MsSetup.inc) | ForEach-Object { $_ -replace "TARGET_SERVER", ${env:TEST_PHP_SQL_SERVER} -replace "TARGET_DATABASE", ${env:SQLSRV_DBNAME} -replace "TARGET_USERNAME", ${env:TEST_PHP_SQL_UID} -replace "TARGET_PASSWORD", ${env:TEST_PHP_SQL_PWD} } | Set-Content ${env:APPVEYOR_BUILD_FOLDER}\test\functional\sqlsrv\MsSetup.inc
|
||||||
- ps: Get-Content ${env:APPVEYOR_BUILD_FOLDER}\test\functional\sqlsrv\MsSetup.inc
|
- ps: Get-Content ${env:APPVEYOR_BUILD_FOLDER}\test\functional\sqlsrv\MsSetup.inc
|
||||||
#- appveyor DownloadFile http://github.com/OpenCppCoverage/OpenCppCoverage/releases/download/release-0.9.6.1/OpenCppCoverageSetup-x64-0.9.6.1.exe
|
- echo install opencppcoverage
|
||||||
#- OpenCppCoverageSetup-x64-0.9.6.1.exe /VERYSILENT
|
|
||||||
#- ps: ls "c:\Program Files"
|
|
||||||
#- set CPPCOVER="C:\\Program Files\\OpenCppCoverage"
|
|
||||||
#- set PATH=%CPPCOVER%;%PATH%
|
|
||||||
- choco install opencppcoverage
|
- choco install opencppcoverage
|
||||||
- set path=C:\Program Files\OpenCppCoverage;%path%
|
- set path=C:\Program Files\OpenCppCoverage;%path%
|
||||||
|
|
||||||
|
@ -192,13 +188,19 @@ test_script:
|
||||||
- ps: $outfiles = Get-ChildItem pdo_sqlsrv\*.out
|
- ps: $outfiles = Get-ChildItem pdo_sqlsrv\*.out
|
||||||
- ps: foreach($file in $difffiles){ls $file; more $file}
|
- ps: foreach($file in $difffiles){ls $file; more $file}
|
||||||
- ps: foreach($file in $outfiles){ls $file; more $file}
|
- ps: foreach($file in $outfiles){ls $file; more $file}
|
||||||
- cd %PHP_INSTALL_DIR%
|
- if [%SQL_INSTANCE%]==[SQL2016] (
|
||||||
- OpenCppCoverage.exe --sources %PHP_SDK_DIR%\php-%PHP_VERSION%-src\ext\pdo_sqlsrv --sources %PHP_SDK_DIR%\php-%PHP_VERSION%-src\ext\sqlsrv --modules *sqlsrv*.dll --export_type=cobertura:.\coverage.xml --cover_children --quiet --continue_after_cpp_exception --optimized_build -- .\php.exe .\run-tests.php -P %APPVEYOR_BUILD_FOLDER%\test\functional\
|
SET EXT_DIR=%PHP_SDK_DIR%\php-%PHP_VERSION%-src\ext
|
||||||
|
OpenCppCoverage.exe --sources %EXT_DIR%\pdo_sqlsrv --sources %EXT_DIR%\sqlsrv --modules *sqlsrv*.dll --export_type=cobertura:.\coverage.xml --cover_children --quiet --continue_after_cpp_exception --optimized_build -- .\php.exe .\run-tests.php -P %APPVEYOR_BUILD_FOLDER%\test\functional\
|
||||||
|
pip install codecov
|
||||||
|
codecov -f ".\coverage.xml"
|
||||||
|
)
|
||||||
|
# - cd %PHP_INSTALL_DIR%
|
||||||
|
# - OpenCppCoverage.exe --sources %PHP_SDK_DIR%\php-%PHP_VERSION%-src\ext\pdo_sqlsrv --sources %PHP_SDK_DIR%\php-%PHP_VERSION%-src\ext\sqlsrv --modules *sqlsrv*.dll --export_type=cobertura:.\coverage.xml --cover_children --quiet --continue_after_cpp_exception --optimized_build -- .\php.exe .\run-tests.php -P %APPVEYOR_BUILD_FOLDER%\test\functional\
|
||||||
- ls
|
- ls
|
||||||
- python %APPVEYOR_BUILD_FOLDER%\test\functional\setup\cleanup_dbs.py -dbname %SQLSRV_DBNAME%
|
- python %APPVEYOR_BUILD_FOLDER%\test\functional\setup\cleanup_dbs.py -dbname %SQLSRV_DBNAME%
|
||||||
- python %APPVEYOR_BUILD_FOLDER%\test\functional\setup\cleanup_dbs.py -dbname %PDOSQLSRV_DBNAME%
|
- python %APPVEYOR_BUILD_FOLDER%\test\functional\setup\cleanup_dbs.py -dbname %PDOSQLSRV_DBNAME%
|
||||||
- pip install codecov
|
# - pip install codecov
|
||||||
- codecov -f ".\coverage.xml"
|
# - codecov -f ".\coverage.xml"
|
||||||
|
|
||||||
after_test:
|
after_test:
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%\test\functional\
|
- cd %APPVEYOR_BUILD_FOLDER%\test\functional\
|
||||||
|
|
Loading…
Reference in a new issue