diff options
author | 2017-01-27 23:47:24 +0100 | |
---|---|---|
committer | 2018-01-01 18:53:49 +0100 | |
commit | d65d776d9263954a5bea849ab4d061b383aa564a (patch) | |
tree | 677a5d70392ac75cf57b9a3a6784eecd7b954d8a /.appveyor.yml | |
parent | [ticket/15055] Add .appveyor.yml file (diff) | |
download | phpbb-d65d776d9263954a5bea849ab4d061b383aa564a.tar.gz phpbb-d65d776d9263954a5bea849ab4d061b383aa564a.tar.bz2 phpbb-d65d776d9263954a5bea849ab4d061b383aa564a.zip |
[ticket/15055] Output test config to test_config.php
PHPBB3-15055
Diffstat (limited to '.appveyor.yml')
-rw-r--r-- | .appveyor.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 1246c7735f..077742e799 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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 |