Trying xml coverage file

This commit is contained in:
David Puglielli 2017-10-06 13:05:04 -07:00
parent c1d0d0b2d3
commit 4996f8648f

View file

@ -181,11 +181,11 @@ test_script:
- type %APPVEYOR_BUILD_FOLDER%\test\functional\sqlsrv.log
- php run-tests.php -p php.exe %APPVEYOR_BUILD_FOLDER%\test\functional\pdo_sqlsrv\*.phpt > %APPVEYOR_BUILD_FOLDER%\test\functional\pdo_sqlsrv.log 2>&1
- type %APPVEYOR_BUILD_FOLDER%\test\functional\pdo_sqlsrv.log
- OpenCppCoverage.exe --sources %APPVEYOR_BUILD_FOLDER%\source --modules *sqlsrv*.dll --export_type=html:coverage.html -- .\php.exe %APPVEYOR_BUILD_FOLDER%\test\functional\sqlsrv\sqlsrv_param_input_variants.phpt
- OpenCppCoverage.exe --sources %APPVEYOR_BUILD_FOLDER%\source --modules *sqlsrv*.dll --export_type=cobertura:coverage.xml -- .\php.exe %APPVEYOR_BUILD_FOLDER%\test\functional\sqlsrv\sqlsrv_param_input_variants.phpt
- 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%
- pip install codecov
- codecov -f "coverage.html" -t 431e6338-ad88-4c3e-9be0-1bf180826d26
- codecov -f "coverage.xml" -t 431e6338-ad88-4c3e-9be0-1bf180826d26
after_test:
- cd %APPVEYOR_BUILD_FOLDER%\test\functional\