1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 12:52:08 +02:00

[ticket/15055] Output test config to test_config.php

PHPBB3-15055
This commit is contained in:
Marc Alexander 2017-01-27 23:47:24 +01:00
parent cbee288eeb
commit d65d776d92

View File

@ -33,7 +33,10 @@ before_test:
- echo extension=php_pdo_sqlsrv_56_nts.dll >> php.ini
- cd c:\projects\phpbb\phpBB
- php ..\composer.phar install
- cd c:\projects\phpbb\tests
- touch test_config.php
- ps: $data = "<?php`n`n`$dbms = 'phpbb\\db\\driver\\mssqlnative';`n`$dbhost = '.\\sql2014';`n`$dbport = '';`n`$dbname = 'phpbb_test';`n`$dbuser = 'sa';`n`$dbpasswd = 'Password12!';"; $data | Out-File -Encoding "Default" "test_config.php"
test_script:
- cd c:\projects\phpbb
- php -e phpBB\vendor\phpunit\phpunit\phpunit
- php -e phpBB\vendor\phpunit\phpunit\phpunit --verbose