mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Update Travis and Scrutinizer configuration, add note to readme
This commit is contained in:
parent
98410c7eae
commit
e263ba33ec
@ -6,4 +6,4 @@ checks:
|
|||||||
duplication: true
|
duplication: true
|
||||||
|
|
||||||
filter:
|
filter:
|
||||||
paths: [code/*, tests/*]
|
paths: [src/*, tests/*]
|
||||||
|
33
.travis.yml
33
.travis.yml
@ -12,8 +12,6 @@ before_install:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- DB=MYSQL CORE_RELEASE=3.1
|
|
||||||
|
|
||||||
# Turn coverage off by default, as it's expensive time wise
|
# Turn coverage off by default, as it's expensive time wise
|
||||||
- COVERAGE=0
|
- COVERAGE=0
|
||||||
|
|
||||||
@ -21,31 +19,32 @@ env:
|
|||||||
- MODULE_PATH=blog
|
- MODULE_PATH=blog
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
|
||||||
- php: hhvm-nightly
|
|
||||||
include:
|
include:
|
||||||
- php: 5.6
|
|
||||||
env: DB=MYSQL COVERAGE=1
|
|
||||||
- php: 5.5
|
- php: 5.5
|
||||||
env: DB=MYSQL
|
env: DB=MYSQL CORE_RELEASE=4
|
||||||
|
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
env: DB=PGSQL
|
env: DB=MYSQL CORE_RELEASE=4 COVERAGE=1
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
env: DB=MYSQL CORE_RELEASE=3.2
|
env: DB=PGSQL CORE_RELEASE=4
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
env: DB=PGSQL CORE_RELEASE=3.2
|
env: DB=SQLITE CORE_RELEASE=4
|
||||||
- php: 5.4
|
|
||||||
env: DB=SQLITE
|
- php: 7.0
|
||||||
- php: 5.3
|
env: DB=MYSQL CORE_RELEASE=4
|
||||||
env: DB=MYSQL
|
|
||||||
- php: hhvm
|
- php: 7.1
|
||||||
env: DB=MYSQL
|
env: DB=MYSQL CORE_RELEASE=4
|
||||||
|
- php: 7.1
|
||||||
|
env: DB=PGSQL CORE_RELEASE=4
|
||||||
|
- php: 7.1
|
||||||
|
env: DB=SQLITE CORE_RELEASE=4
|
||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- phpenv rehash
|
- phpenv rehash
|
||||||
- composer self-update || true
|
- 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 --require "silverstripe/comments" --require "silverstripe/widgets"
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require "silverstripe/comments" --require "silverstripe/widgets"
|
||||||
- cd ~/builds/ss
|
- cd ~/builds/ss
|
||||||
|
|
||||||
|
20
README.md
20
README.md
@ -10,16 +10,16 @@
|
|||||||
|
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
[User guide](docs/en/userguide/index.md)
|
|
||||||
|
|
||||||
[Developer documentation](docs/en/index.md)
|
* [User guide](docs/en/userguide/index.md)
|
||||||
|
* [Developer documentation](docs/en/index.md)
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
```
|
```
|
||||||
silverstripe/cms: ^3.1
|
silverstripe/cms: ^4.0
|
||||||
silverstripe/lumberjack: ^1.1
|
silverstripe/lumberjack: ^2.0
|
||||||
silverstripe/tagfield: ^1.0
|
silverstripe/tagfield: ^2.0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Suggested Modules
|
### Suggested Modules
|
||||||
@ -35,8 +35,12 @@ silverstripe/comments: *
|
|||||||
composer require silverstripe/blog
|
composer require silverstripe/blog
|
||||||
```
|
```
|
||||||
|
|
||||||
## Upgrading legacy blog to 2.x
|
## Upgrading
|
||||||
|
|
||||||
|
### Upgrading from 2.x to 3.x
|
||||||
|
|
||||||
|
Aside from the framework and CMS upgrades required the blog module should not require anything extra to be completed.
|
||||||
|
|
||||||
|
### Upgrading legacy blog to 2.x
|
||||||
|
|
||||||
If you're upgrading from blog version 1.0 to 2.x you will need to run the `BlogMigrationTask`. Run the task using `dev/tasks/BlogMigrationTask` either via the browser or sake CLI to migrate your legacy blog to the new version data structure.
|
If you're upgrading from blog version 1.0 to 2.x you will need to run the `BlogMigrationTask`. Run the task using `dev/tasks/BlogMigrationTask` either via the browser or sake CLI to migrate your legacy blog to the new version data structure.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user