Cleaning up the tweaks to finalize the testing!

This commit is contained in:
Vincent Sposato
2015-08-28 20:04:42 -04:00
parent c870933125
commit 217caf3002
2 changed files with 0 additions and 11 deletions
-5
View File
@@ -34,15 +34,10 @@ before_script:
- ./vendor/bin/codecept build
- APP_ENV=travis-ci php artisan serve --port=8007 &
- sleep 5
- php artisan env
# omitting "script:" will default to phpunit
# use the $DB env variable to determine the phpunit.xml to use
script: ./vendor/bin/codecept run --env travis-ci -vvv
#script: phpunit
after_failure:
- cat tests/_output/WelcomeCept.fail.html
# configure notifications (email, IRC, campfire etc)
notifications:
-6
View File
@@ -23,18 +23,12 @@
| given environment, then we will automatically detect it for you.
|
*/
// if (isset($_SERVER[ 'APP_ENV' ]) && $_SERVER[ 'APP_ENV' ] == 'travis-ci') {
// $env = $app->detectEnvironment(function() {
// return 'travis-ci';
// });
// } else {
$env = $app->detectEnvironment( [
'local' => [ 'homestead', 'AlisonMBP' ],
'travis-ci' => getenv('APP_ENV') == 'travis-ci',
'staging' => [ 'stagingweb01' ],
'production' => [ 'www.yourserver.com' ]
] );
// }
/*
|--------------------------------------------------------------------------