silverstripe-framework/composer.json
Sam Minnee 07396e4437 NEW: Move Travis behat test to run locally.
This shifts the behat test run to be triggered form composer activity
within the framework module directly,

 * silverstripe/serve is used to provide a webserver, based on the
   php -S command
 * se/selenium-server-standalone is used to install selenium rather than
   a download command

Because we’re using serve, the behat configuration can be locked down.

Further refinements could be made on this:

 * the behat-extension could be responsible for installing and
   starting/stopping selenium, making these tests more portable
 * xvfb initialisation could be provided with another bin tool in the
   begat-extension: vendor/bin/xvfb 1024x768
 * The bootstrap-file argument to serve could be provided as part of a
   composer.json setting. This would make it easier for developers to
   start a dev server simply by running vendor/bin/serve
 * the behat-extension could be responsible for installing and
   starting/stopping silverstripe/serve, removing the need for
   specifying base_url at all, and possibly utilising the same bootstrap
   file between serve and behat.
2016-09-17 15:40:37 +12:00

65 lines
1.7 KiB
JSON

{
"name": "silverstripe/framework",
"type": "silverstripe-module",
"description": "The SilverStripe framework",
"homepage": "http://silverstripe.org",
"license": "BSD-3-Clause",
"keywords": ["silverstripe", "framework"],
"authors": [
{
"name": "SilverStripe",
"homepage": "http://silverstripe.com"
},
{
"name": "The SilverStripe Community",
"homepage": "http://silverstripe.org"
}
],
"require": {
"php": ">=5.5.0",
"composer/installers": "~1.0",
"monolog/monolog": "~1.11",
"league/flysystem": "~1.0.12",
"symfony/yaml": "~2.7",
"embed/embed": "^2.6"
},
"require-dev": {
"phpunit/PHPUnit": "~4.8",
"silverstripe/behat-extension": "^2.1.0",
"silverstripe/serve": "dev-master",
"silverstripe/testsession": "^2.0.0-alpha3",
"se/selenium-server-standalone": "2.41.0"
},
"extra": {
"branch-alias": {
"dev-master": "4.0.x-dev"
}
},
"autoload": {
"psr-4": {
"SilverStripe\\Admin\\": "admin/code/",
"SilverStripe\\Assets\\": "Assets/",
"SilverStripe\\Control\\": "Control/",
"SilverStripe\\Core\\": "Core/",
"SilverStripe\\Dev\\": "Dev/",
"SilverStripe\\Forms\\": "Forms/",
"SilverStripe\\i18n\\": "i18n/",
"SilverStripe\\Logging\\": "Logging/",
"SilverStripe\\ORM\\": "ORM/",
"SilverStripe\\Security\\": "Security/",
"SilverStripe\\View\\": "View/"
},
"psr-0": {
"HTML_": "thirdparty/HTML_BBCodeParser2"
},
"files": ["Core/Constants.php"],
"classmap": ["tests/behat/features/bootstrap"]
},
"include-path": [
"thirdparty/",
"thirdparty/HTML_BBCodeParser2/"
],
"min-stability": "dev",
"prefer-stable": true
}