mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
Merge pull request #71 from silverstripe/pulls/cleanup-root-files
Cleanup of root files
This commit is contained in:
commit
ed05c0f509
9
Makefile
9
Makefile
@ -1,9 +0,0 @@
|
|||||||
#
|
|
||||||
# This makefile is a secondary way of installing SilverStripe.
|
|
||||||
# It is used for things like continuous integration
|
|
||||||
#
|
|
||||||
# Most users should simply visit the site root in your web browser.
|
|
||||||
#
|
|
||||||
|
|
||||||
test:
|
|
||||||
$(MAKE) QUERYSTRING="$(QUERYSTRING)" -C framework test
|
|
@ -1,3 +1,7 @@
|
|||||||
|
# Behat integration test setup (see behat.org).
|
||||||
|
# More information about running these tests can be found under
|
||||||
|
# https://github.com/silverstripe-labs/silverstripe-behat-extension.
|
||||||
|
# It is safe to remove this file for normal website operation.
|
||||||
default:
|
default:
|
||||||
filters:
|
filters:
|
||||||
tags: "~@todo"
|
tags: "~@todo"
|
||||||
|
@ -1,15 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
# phing installation
|
Phing build tooling for SilverStripe releases (see phing.info).
|
||||||
sudo pear channel-discover pear.phing.info
|
Install through "pear channel-discover pear.phing.info && pear install --alldeps phing/phing".
|
||||||
sudo pear install phing/phing
|
Most tooling is placed in a separate module, install with "composer require silverstripe/buildtools".
|
||||||
sudo pear install pear/VersionControl_Git-0.4.4
|
It is safe to remove this file for normal website operation.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<project name="silverstripe-installer" default="help" phingVersion="2.4.5">
|
<project name="silverstripe-installer" default="help" phingVersion="2.4.5">
|
||||||
|
|
||||||
<!-- Install with "composer require silverstripe/buildtools" -->
|
|
||||||
<import file="buildtools/build.xml" optional="true" />
|
<import file="buildtools/build.xml" optional="true" />
|
||||||
|
|
||||||
<property name="basedir" value="." override="true" />
|
<property name="basedir" value="." override="true" />
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
<phpunit bootstrap="framework/tests/bootstrap.php" colors="false" backupGlobals="false" backupStaticAttributes="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" syntaxCheck="false" verbose="true" strict="true">
|
|
||||||
|
|
||||||
<testsuite name="Default">
|
|
||||||
<directory>mysite/tests</directory>
|
|
||||||
<directory>cms/tests</directory>
|
|
||||||
<directory>framework/tests</directory>
|
|
||||||
<directory>postgresql/tests</directory>
|
|
||||||
</testsuite>
|
|
||||||
|
|
||||||
<listeners>
|
|
||||||
<listener class="SS_TestListener" file="framework/dev/TestListener.php" />
|
|
||||||
<listener class="TeamCityListener" file="framework/dev/TeamCityListener.php"/>
|
|
||||||
</listeners>
|
|
||||||
|
|
||||||
<groups>
|
|
||||||
<exclude>
|
|
||||||
<group>sanitychecks</group>
|
|
||||||
</exclude>
|
|
||||||
</groups>
|
|
||||||
|
|
||||||
<php>
|
|
||||||
<!--
|
|
||||||
Set different database connection.
|
|
||||||
Relies on the presence of the 'zframeworktest_dbswitcher' module
|
|
||||||
(https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
|
|
||||||
as well as on constants in _ss_environment.php (see module README).
|
|
||||||
-->
|
|
||||||
<get name="db" value="postgresql"/>
|
|
||||||
<!-- Always flush the manifest -->
|
|
||||||
<get name="flush" value="1"/>
|
|
||||||
</php>
|
|
||||||
|
|
||||||
</phpunit>
|
|
@ -1,33 +0,0 @@
|
|||||||
<phpunit bootstrap="framework/tests/bootstrap.php" colors="false" backupGlobals="false" backupStaticAttributes="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" syntaxCheck="false" verbose="true" strict="true">
|
|
||||||
|
|
||||||
<testsuite name="Default">
|
|
||||||
<directory>mysite/tests</directory>
|
|
||||||
<directory>cms/tests</directory>
|
|
||||||
<directory>framework/tests</directory>
|
|
||||||
<directory>sqlite3/tests</directory>
|
|
||||||
</testsuite>
|
|
||||||
|
|
||||||
<listeners>
|
|
||||||
<listener class="SS_TestListener" file="framework/dev/TestListener.php" />
|
|
||||||
<listener class="TeamCityListener" file="framework/dev/TeamCityListener.php"/>
|
|
||||||
</listeners>
|
|
||||||
|
|
||||||
<groups>
|
|
||||||
<exclude>
|
|
||||||
<group>sanitychecks</group>
|
|
||||||
</exclude>
|
|
||||||
</groups>
|
|
||||||
|
|
||||||
<php>
|
|
||||||
<!--
|
|
||||||
Set different database connection.
|
|
||||||
Relies on the presence of the 'zframeworktest_dbswitcher' module
|
|
||||||
(https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
|
|
||||||
as well as on constants in _ss_environment.php (see module README).
|
|
||||||
-->
|
|
||||||
<get name="db" value="sqlite3"/>
|
|
||||||
<!-- Always flush the manifest -->
|
|
||||||
<get name="flush" value="1"/>
|
|
||||||
</php>
|
|
||||||
|
|
||||||
</phpunit>
|
|
@ -1,38 +0,0 @@
|
|||||||
<!--
|
|
||||||
PHPUnit configuration for SilverStripe
|
|
||||||
|
|
||||||
Requires PHPUnit 3.5+
|
|
||||||
|
|
||||||
Usage:
|
|
||||||
- "phpunit": Runs all tests in all folders
|
|
||||||
- "phpunit framework/tests/": Run all tests of the framework module
|
|
||||||
- "phpunit framework/tests/filesystem": Run all filesystem tests within the framework module
|
|
||||||
- "phpunit framework/tests/filesystem/FolderTest.php": Run a single test
|
|
||||||
- "phpunit <dash><dash>coverage-html assets/": Generate coverage report (replace <dash> with "-", requires xdebug)
|
|
||||||
|
|
||||||
Further information:
|
|
||||||
- http://www.phpunit.de/manual/current/en/textui.html for more commandline options.
|
|
||||||
- http://github.com/chillu/silverstripe-doc-restructuring/blob/master/master/cms/docs/en/howto/phpunit-configuration.md
|
|
||||||
for more information on configuration and execution options.
|
|
||||||
- framework/dev/TestRunner.php for an alternative way to run unit tests through the "sake" CLI tool.
|
|
||||||
-->
|
|
||||||
<phpunit bootstrap="framework/tests/bootstrap.php" colors="false" backupGlobals="false" backupStaticAttributes="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" syntaxCheck="false" verbose="true" strict="true">
|
|
||||||
|
|
||||||
<testsuite name="Default">
|
|
||||||
<directory>mysite/tests</directory>
|
|
||||||
<directory>cms/tests</directory>
|
|
||||||
<directory>framework/tests</directory>
|
|
||||||
</testsuite>
|
|
||||||
|
|
||||||
<listeners>
|
|
||||||
<listener class="SS_TestListener" file="framework/dev/TestListener.php" />
|
|
||||||
<listener class="TeamCityListener" file="framework/dev/TeamCityListener.php"/>
|
|
||||||
</listeners>
|
|
||||||
|
|
||||||
<groups>
|
|
||||||
<exclude>
|
|
||||||
<group>sanitychecks</group>
|
|
||||||
</exclude>
|
|
||||||
</groups>
|
|
||||||
|
|
||||||
</phpunit>
|
|
@ -13,6 +13,8 @@
|
|||||||
More information:
|
More information:
|
||||||
- http://www.phpunit.de/manual/current/en/textui.html
|
- http://www.phpunit.de/manual/current/en/textui.html
|
||||||
- http://doc.silverstripe.org/framework/en/topics/testing/#configuration
|
- http://doc.silverstripe.org/framework/en/topics/testing/#configuration
|
||||||
|
|
||||||
|
It is safe to remove this file for normal website operation.
|
||||||
-->
|
-->
|
||||||
<phpunit bootstrap="framework/tests/bootstrap.php" colors="true">
|
<phpunit bootstrap="framework/tests/bootstrap.php" colors="true">
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<--! Routing configuration for Microsoft IIS web server -->
|
||||||
<configuration>
|
<configuration>
|
||||||
<system.webServer>
|
<system.webServer>
|
||||||
<security>
|
<security>
|
||||||
|
Loading…
Reference in New Issue
Block a user