mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-17 06:16:34 +02:00
[ticket/15055] Fix line break and disable sql server 2017 for now
SQL Server 2017 currently fails for unknown reasons and just results in an overall longer build time. Therefore disabling it for now. PHPBB3-15055
This commit is contained in:
parent
daf668a969
commit
3c7f45c166
@ -7,18 +7,18 @@ services:
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
# - db: mssql
|
||||
# db_version: sql2012sp1
|
||||
# php: 7.0
|
||||
# - db: mssql
|
||||
# db_version: sql2014
|
||||
# php: 7.0
|
||||
# - db: mssql
|
||||
# db_version: sql2016
|
||||
# php: 7.0
|
||||
- db: mssql
|
||||
db_version: sql2017
|
||||
php: 7.1
|
||||
db_version: sql2012sp1
|
||||
php: 7.0
|
||||
- db: mssql
|
||||
db_version: sql2014
|
||||
php: 7.0
|
||||
- db: mssql
|
||||
db_version: sql2016
|
||||
php: 7.0
|
||||
# - db: mssql
|
||||
# db_version: sql2017
|
||||
# php: 7.1
|
||||
# - db: mariadb
|
||||
# php: 7.1
|
||||
# - db: mysqli
|
||||
@ -114,6 +114,10 @@ before_test:
|
||||
# Install PhantomJS
|
||||
cinst -y phantomjs
|
||||
Start-Process "phantomjs" "--webdriver=8910" | Out-Null
|
||||
- ps: |
|
||||
cd c:\projects\phpbb\phpBB
|
||||
(Get-Content c:\projects\phpbb\phpBB\web.config).replace("<configuration>", "<configuration>`n`t<system.web>`n`t`t<customErrors mode=`"Off`"/>`n`t</system.web>") | Set-Content c:\projects\phpbb\phpBB\web.config
|
||||
(Get-Content c:\projects\phpbb\phpBB\web.config).replace("`t</system.webServer>", "`t`t<httpErrors errorMode=`"Detailed`" />`n`t</system.webServer>") | Set-Content c:\projects\phpbb\phpBB\web.config
|
||||
- cd c:\projects\phpbb\phpBB
|
||||
- php ..\composer.phar install
|
||||
- choco install -y urlrewrite
|
||||
|
@ -918,7 +918,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
if ($status_code != self::$client->getResponse()->getStatus() &&
|
||||
preg_match('/^5[0-9]{2}/', self::$client->getResponse()->getStatus()))
|
||||
{
|
||||
self::fail('Encountered unexpected server error:\n' . self::$client->getResponse()->getContent());
|
||||
self::fail("Encountered unexpected server error:\n" . self::$client->getResponse()->getContent());
|
||||
}
|
||||
self::assertEquals($status_code, self::$client->getResponse()->getStatus(), 'HTTP status code does not match');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user