-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update configuration, CI, readme, composer for SS4 compatibility
- Loading branch information
1 parent
877fbd2
commit 0542d37
Showing
8 changed files
with
68 additions
and
79 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 |
---|---|---|
|
@@ -66,4 +66,4 @@ checks: | |
argument_type_checks: true | ||
|
||
filter: | ||
paths: [code/*, tests/*] | ||
paths: [src/*, 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 |
---|---|---|
@@ -1,38 +1,29 @@ | ||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
|
||
sudo: false | ||
- 7.1 | ||
|
||
env: | ||
- DB=MYSQL CORE_RELEASE=3.3 | ||
- DB=MYSQL CORE_RELEASE=4 | ||
|
||
matrix: | ||
include: | ||
- php: 5.5 | ||
env: DB=PGSQL CORE_RELEASE=3 | ||
- php: 5.6 | ||
env: DB=MYSQL CORE_RELEASE=3.3 | ||
allow_failures: | ||
- php: 7.0 | ||
env: DB=PGSQL CORE_RELEASE=3 | ||
|
||
before_script: | ||
- composer self-update || true | ||
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support | ||
- git clone git://github.com/silverstripe/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 --coverage-clover coverage.clover sharedraftcontent/tests | ||
|
||
after_success: | ||
- wget https://scrutinizer-ci.com/ocular.phar | ||
- git remote rm origin | ||
- git remote add origin [email protected]:silverstripe-labs/silverstripe-sharedraftcontent.git | ||
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover | ||
|
||
branches: | ||
only: | ||
- master |
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,3 +1,3 @@ | ||
# Code of Conduct | ||
|
||
https://docs.silverstripe.org/en/3.1/contributing/code_of_conduct/ | ||
https://docs.silverstripe.org/en/4/contributing/code_of_conduct/ |
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,38 +1,37 @@ | ||
{ | ||
"name": "silverstripe/sharedraftcontent", | ||
"type": "silverstripe-module", | ||
"description": "Share draft page content with non-CMS users", | ||
"license": "BSD-3-Clause", | ||
"keywords": ["silverstripe"], | ||
"authors": [ | ||
{ | ||
"name": "Damian Mooyman", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Christopher Pitt", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "David Craig", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"silverstripe/framework": "^3.3", | ||
"silverstripe/cms": "^3.3", | ||
"assertchris/hash-compat": "^1.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^4.7" | ||
}, | ||
"extra": | ||
{ | ||
"branch-alias": | ||
{ | ||
"dev-master": "1.1.x-dev" | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
"name": "silverstripe/sharedraftcontent", | ||
"type": "silverstripe-module", | ||
"description": "Share draft page content with non-CMS users", | ||
"license": "BSD-3-Clause", | ||
"keywords": ["silverstripe"], | ||
"authors": [ | ||
{ | ||
"name": "Damian Mooyman", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Christopher Pitt", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "David Craig", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"silverstripe/framework": "^4.0@dev", | ||
"silverstripe/cms": "^4.0@dev" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "~4.8" | ||
}, | ||
"extra": | ||
{ | ||
"branch-alias": | ||
{ | ||
"dev-master": "2.x-dev" | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
} |
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