-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* master: revert rendering of Block back to using Block DataObject. Fixes #66 Remove trailing spaces in the source code Adding default Scrutinizer config for CI Fixing composer.json Adding default Travis config for testing Block Type Filter
- Loading branch information
Showing
6 changed files
with
114 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
inherit: true | ||
|
||
checks: | ||
php: | ||
code_rating: true | ||
duplication: true | ||
|
||
filter: | ||
paths: [code/*, tests/*] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details | ||
|
||
sudo: false | ||
|
||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
|
||
env: | ||
- DB=MYSQL CORE_RELEASE=3.2 | ||
|
||
matrix: | ||
include: | ||
- php: 5.6 | ||
env: DB=MYSQL CORE_RELEASE=3 | ||
- php: 5.6 | ||
env: DB=MYSQL CORE_RELEASE=3.1 | ||
- php: 5.6 | ||
env: DB=PGSQL CORE_RELEASE=3.2 | ||
allow_failures: | ||
- php: 7.0 | ||
|
||
before_script: | ||
- composer self-update || true | ||
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support | ||
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss | ||
- cd ~/builds/ss | ||
- composer install | ||
|
||
script: | ||
- vendor/bin/phpunit silverstripe-blocks/tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
{ | ||
"name": "sheadawson/silverstripe-blocks", | ||
"description": "An alternative to the SilverStripe Widgets module.", | ||
"type": "silverstripe-module", | ||
"keywords": ["silverstripe", "blocks", "widgets"], | ||
"homepage": "http://github.com/sheadawson/silverstripe-blocks", | ||
"authors": [ | ||
{ | ||
"name": "Shea Dawson", | ||
"email": "shea@silverstripe.com.au" | ||
} | ||
], | ||
|
||
"require": | ||
{ | ||
"composer/installers": "*", | ||
"silverstripe/framework": "~3.1", | ||
"silverstripe/cms": "~3.1", | ||
"silverstripe-australia/gridfieldextensions": "~1.0", | ||
"silverstripe/multivaluefield": "~2.0", | ||
"unclecheese/betterbuttons": "~1.2" | ||
}, | ||
"suggest": { | ||
"unisolutions/silverstripe-copybutton": "Duplicate Blocks in Block Admin", | ||
"micschk/silverstripe-gridfieldsitetreebuttons": "Edit pages directly from a Block's 'used on page' list" | ||
"name": "sheadawson/silverstripe-blocks", | ||
"description": "An alternative to the SilverStripe Widgets module.", | ||
"type": "silverstripe-module", | ||
"keywords": [ | ||
"silverstripe", | ||
"blocks", | ||
"widgets" | ||
], | ||
"homepage": "http://github.com/sheadawson/silverstripe-blocks", | ||
"authors": [ | ||
{ | ||
"name": "Shea Dawson", | ||
"email": "shea@silverstripe.com.au" | ||
} | ||
], | ||
"require": { | ||
"composer/installers": "*", | ||
"silverstripe/framework": "~3.1", | ||
"silverstripe/cms": "~3.1", | ||
"silverstripe-australia/gridfieldextensions": "~1.0", | ||
"silverstripe/multivaluefield": "~2.0", | ||
"unclecheese/betterbuttons": "~1.2" | ||
}, | ||
"extra": { | ||
"installer-name": "blocks" | ||
} | ||
} | ||
"suggest": { | ||
"unisolutions/silverstripe-copybutton": "Duplicate Blocks in Block Admin", | ||
"micschk/silverstripe-gridfieldsitetreebuttons": "Edit pages directly from a Block's 'used on page' list" | ||
}, | ||
"extra": { | ||
"installer-name": "blocks" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters