travis - stop supressing output

This commit is contained in:
Nabeel Shahzad 2017-07-13 15:23:55 -05:00
parent 4dd2e8c9c6
commit de91b133e7
6 changed files with 57 additions and 17 deletions

View File

@ -18,4 +18,4 @@ before_script:
script:
- php artisan database:create --reset
- vendor/bin/phpunit --debug --verbose --testdox tests
- vendor/bin/phpunit --debug --verbose

10
composer.lock generated
View File

@ -1027,7 +1027,7 @@
"laravel",
"templates"
],
"time": "2017-05-20 10:43:37"
"time": "2017-05-20T10:43:37+00:00"
},
{
"name": "infyomlabs/laravel-generator",
@ -1082,7 +1082,7 @@
"test",
"view"
],
"time": "2016-08-18 14:19:50"
"time": "2016-08-18T14:19:50+00:00"
},
{
"name": "infyomlabs/swagger-generator",
@ -1119,7 +1119,7 @@
"swagger",
"templates"
],
"time": "2016-02-14 10:41:03"
"time": "2016-02-14T10:41:03+00:00"
},
{
"name": "jeremeamia/SuperClosure",
@ -1222,7 +1222,7 @@
"laravel",
"swagger"
],
"time": "2016-01-25 15:38:17"
"time": "2016-01-25T15:38:17+00:00"
},
{
"name": "laracasts/flash",
@ -4527,7 +4527,7 @@
"permission",
"roles"
],
"time": "2016-12-29 06:25:06"
"time": "2016-12-29T06:25:06+00:00"
}
],
"packages-dev": [

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="bootstrap/autoload.php"
printerClass="ScriptFUSION\PHPUnitImmediateExceptionPrinter\ImmediateExceptionPrinter"
colors="true"
processIsolation="false"
stopOnFailure="false"
stopOnFailure="true"
convertErrorsToExceptions="false"
convertNoticesToExceptions="false"
convertWarningsToExceptions="false">
@ -18,14 +18,14 @@
</whitelist>
</filter>
<php>
<!--<env name="APP_ENV" value="testing"/>
<env name="APP_ENV" value="testing"/>
<env name="APP_KEY" value="base64:ve66Z5Kt/zTN3p++0zOPu854PHfZkwJE5VuoFAlzHtI="/>
<env name="APP_DEBUG" value="true"/>
<env name="APP_LOG_LEVEL" value="debug"/>
<env name="DB_CONNECTION" value="unittest"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>-->
<env name="QUEUE_DRIVER" value="sync"/>
<ini name="error_reporting" value="E_ALL" />
<ini name="display_errors" value="On" />
<ini name="display_startup_errors" value="On" />

View File

@ -13,6 +13,7 @@
<excludeFolder url="file://$MODULE_DIR$/vendor/phenx/php-font-lib" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phenx/php-svg-lib" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpoffice/phpexcel" />
<excludeFolder url="file://$MODULE_DIR$/vendor/scriptfusion/phpunit-immediate-exception-printer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/spatie/fractalistic" />
<excludeFolder url="file://$MODULE_DIR$/vendor/spatie/laravel-fractal" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php56" />
@ -32,5 +33,50 @@
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="PHP" type="php">
<CLASSES>
<root url="file://$APPLICATION_HOME_DIR$/bin" />
<root url="file://$MODULE_DIR$/vendor/chrisbjr/api-guard" />
<root url="file://$MODULE_DIR$/vendor/dompdf/dompdf" />
<root url="file://$MODULE_DIR$/vendor/ellipsesynergie/api-response" />
<root url="file://$MODULE_DIR$/vendor/jeremeamia/SuperClosure" />
<root url="file://$MODULE_DIR$/vendor/league/fractal" />
<root url="file://$MODULE_DIR$/vendor/maatwebsite/excel" />
<root url="file://$MODULE_DIR$/vendor/nikic/php-parser" />
<root url="file://$MODULE_DIR$/vendor/phenx/php-font-lib" />
<root url="file://$MODULE_DIR$/vendor/phenx/php-svg-lib" />
<root url="file://$MODULE_DIR$/vendor/phpoffice/phpexcel" />
<root url="file://$MODULE_DIR$/vendor/scriptfusion/phpunit-immediate-exception-printer" />
<root url="file://$MODULE_DIR$/vendor/spatie/fractalistic" />
<root url="file://$MODULE_DIR$/vendor/spatie/laravel-fractal" />
<root url="file://$MODULE_DIR$/vendor/symfony/polyfill-php56" />
<root url="file://$MODULE_DIR$/vendor/symfony/polyfill-util" />
<root url="file://$MODULE_DIR$/vendor/webpatser/laravel-uuid" />
<root url="file://$MODULE_DIR$/vendor/yajra/laravel-datatables-oracle" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$APPLICATION_HOME_DIR$/bin" />
<root url="file://$MODULE_DIR$/vendor/chrisbjr/api-guard" />
<root url="file://$MODULE_DIR$/vendor/dompdf/dompdf" />
<root url="file://$MODULE_DIR$/vendor/ellipsesynergie/api-response" />
<root url="file://$MODULE_DIR$/vendor/jeremeamia/SuperClosure" />
<root url="file://$MODULE_DIR$/vendor/league/fractal" />
<root url="file://$MODULE_DIR$/vendor/maatwebsite/excel" />
<root url="file://$MODULE_DIR$/vendor/nikic/php-parser" />
<root url="file://$MODULE_DIR$/vendor/phenx/php-font-lib" />
<root url="file://$MODULE_DIR$/vendor/phenx/php-svg-lib" />
<root url="file://$MODULE_DIR$/vendor/phpoffice/phpexcel" />
<root url="file://$MODULE_DIR$/vendor/scriptfusion/phpunit-immediate-exception-printer" />
<root url="file://$MODULE_DIR$/vendor/spatie/fractalistic" />
<root url="file://$MODULE_DIR$/vendor/spatie/laravel-fractal" />
<root url="file://$MODULE_DIR$/vendor/symfony/polyfill-php56" />
<root url="file://$MODULE_DIR$/vendor/symfony/polyfill-util" />
<root url="file://$MODULE_DIR$/vendor/webpatser/laravel-uuid" />
<root url="file://$MODULE_DIR$/vendor/yajra/laravel-datatables-oracle" />
</SOURCES>
</library>
</orderEntry>
</component>
</module>

View File

@ -56,7 +56,6 @@ class PIREPTest extends TestCase
}
/**
* @outputBuffering disabled
*/
public function testAddPirep()
{
@ -91,8 +90,6 @@ class PIREPTest extends TestCase
/**
* check the stats/ranks, etc have incremented properly
* @covers \App\Services\PilotService
* @covers \App\Services\PIREPService
*/
public function testPilotStatsIncr()
{

View File

@ -20,7 +20,7 @@ abstract class TestCase extends Illuminate\Foundation\Testing\TestCase
}
protected function reset_db() {
// exec('make -f '.__DIR__.'/../Makefile unittest-db');
exec('make -f '.__DIR__.'/../Makefile unittest-db');
}
public function setUp() {
@ -28,9 +28,6 @@ abstract class TestCase extends Illuminate\Foundation\Testing\TestCase
$this->reset_db();
Mail::fake();
#Artisan::call('migrate');
#Artisan::call('db:seed');
}
/**