mirror of
https://github.com/silverstripe/recipe-cms.git
synced 2024-10-01 12:08:21 +02:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
8ef84bc696 |
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"github-slug": "silverstripe/recipe-cms",
|
"github-slug": "silverstripe/recipe-cms",
|
||||||
"child-stability-inherit": true,
|
"child-stability-inherit": true,
|
||||||
"dependency-constraint": "loose",
|
"dependency-constraint": "exact",
|
||||||
"vendors": [
|
"vendors": [
|
||||||
"silverstripe"
|
"silverstripe"
|
||||||
],
|
],
|
||||||
|
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -1,11 +0,0 @@
|
|||||||
name: CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
ci:
|
|
||||||
name: CI
|
|
||||||
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
|
16
.github/workflows/dispatch-ci.yml
vendored
16
.github/workflows/dispatch-ci.yml
vendored
@ -1,16 +0,0 @@
|
|||||||
name: Dispatch CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
# At 2:10 PM UTC, only on Thursday and Friday
|
|
||||||
schedule:
|
|
||||||
- cron: '10 14 * * 4,5'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
dispatch-ci:
|
|
||||||
name: Dispatch CI
|
|
||||||
# Only run cron on the silverstripe account
|
|
||||||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Dispatch CI
|
|
||||||
uses: silverstripe/gha-dispatch-ci@v1
|
|
17
.github/workflows/keepalive.yml
vendored
17
.github/workflows/keepalive.yml
vendored
@ -1,17 +0,0 @@
|
|||||||
name: Keepalive
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
# The 4th of every month at 10:50am UTC
|
|
||||||
schedule:
|
|
||||||
- cron: '50 10 4 * *'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
keepalive:
|
|
||||||
name: Keepalive
|
|
||||||
# Only run cron on the silverstripe account
|
|
||||||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Keepalive
|
|
||||||
uses: silverstripe/gha-keepalive@v1
|
|
38
.travis.yml
Normal file
38
.travis.yml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
language: php
|
||||||
|
|
||||||
|
dist: xenial
|
||||||
|
|
||||||
|
services:
|
||||||
|
- mysql
|
||||||
|
- postgresql
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- COMPOSER_ROOT_VERSION=4.6.x-dev
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- php: 7.1
|
||||||
|
env: DB=MYSQL
|
||||||
|
- php: 7.2
|
||||||
|
env: DB=PGSQL
|
||||||
|
- php: 7.3
|
||||||
|
env: DB=MYSQL
|
||||||
|
- php: 7.4
|
||||||
|
env: DB=MYSQL
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- phpenv rehash
|
||||||
|
- phpenv config-rm xdebug.ini
|
||||||
|
|
||||||
|
- composer validate
|
||||||
|
- composer require --no-update silverstripe-themes/simple:~3.2.0
|
||||||
|
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.x-dev --no-update; fi
|
||||||
|
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
|
||||||
|
|
||||||
|
# Validate cow schema
|
||||||
|
- composer global require silverstripe/cow ^2
|
||||||
|
- ~/.config/composer/vendor/bin/cow schema:validate
|
||||||
|
|
||||||
|
script:
|
||||||
|
- vendor/bin/phpunit --testsuite recipe-cms
|
12
README.md
12
README.md
@ -1,9 +1,8 @@
|
|||||||
## Silverstripe CMS Recipe
|
## SilverStripe CMS Recipe
|
||||||
|
|
||||||
[![CI](https://github.com/silverstripe/recipe-cms/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/recipe-cms/actions/workflows/ci.yml)
|
[![Build Status](https://travis-ci.org/silverstripe/recipe-cms.svg?branch=4)](https://travis-ci.org/silverstripe/recipe-cms)
|
||||||
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
|
|
||||||
|
|
||||||
Base page and asset content-editing recipe for a Silverstripe ([http://silverstripe.org](http://silverstripe.org))
|
Base page and asset content-editing recipe for a SilverStripe ([http://silverstripe.org](http://silverstripe.org))
|
||||||
installation. This includes the modules:
|
installation. This includes the modules:
|
||||||
|
|
||||||
Provided by [silverstripe/recipe-core]:
|
Provided by [silverstripe/recipe-core]:
|
||||||
@ -22,12 +21,11 @@ Provided by [silverstripe/recipe-cms]:
|
|||||||
* [errorpage](http://github.com/silverstripe/silverstripe-errorpage)
|
* [errorpage](http://github.com/silverstripe/silverstripe-errorpage)
|
||||||
* [reports](http://github.com/silverstripe/silverstripe-reports)
|
* [reports](http://github.com/silverstripe/silverstripe-reports)
|
||||||
* [graphql](http://github.com/silverstripe/silverstripe-graphql)
|
* [graphql](http://github.com/silverstripe/silverstripe-graphql)
|
||||||
* [session-manager](http://github.com/silverstripe/silverstripe-session-manager)
|
|
||||||
* [siteconfig](http://github.com/silverstripe/silverstripe-siteconfig)
|
* [siteconfig](http://github.com/silverstripe/silverstripe-siteconfig)
|
||||||
* [versioned](http://github.com/silverstripe/silverstripe-versioned)
|
* [versioned](http://github.com/silverstripe/silverstripe-versioned)
|
||||||
|
|
||||||
This can be either added to an existing project or used as a project base for creating a
|
This can be either added to an existing project or used as a project base for creating a
|
||||||
fully featured Silverstripe CMS project.
|
fully featured SilverStripe CMS project.
|
||||||
|
|
||||||
See the [recipe plugin](https://github.com/silverstripe/recipe-plugin) page for instructions on how
|
See the [recipe plugin](https://github.com/silverstripe/recipe-plugin) page for instructions on how
|
||||||
Silverstripe recipes work.
|
SilverStripe recipes work.
|
||||||
|
@ -5,23 +5,22 @@
|
|||||||
"homepage": "http://silverstripe.org",
|
"homepage": "http://silverstripe.org",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.4 || ^8.0",
|
"silverstripe/recipe-plugin": "^1.2",
|
||||||
"silverstripe/recipe-plugin": "^1.7",
|
"silverstripe/recipe-core": "4.6.0-rc1",
|
||||||
"silverstripe/recipe-core": "4.x-dev",
|
"silverstripe/admin": "1.6.0-rc1",
|
||||||
"silverstripe/admin": "1.x-dev",
|
"silverstripe/asset-admin": "1.6.0-rc1",
|
||||||
"silverstripe/asset-admin": "1.x-dev",
|
"silverstripe/campaign-admin": "1.6.0-rc1",
|
||||||
"silverstripe/campaign-admin": "1.x-dev",
|
"silverstripe/versioned-admin": "1.6.0-rc1",
|
||||||
"silverstripe/versioned-admin": "1.x-dev",
|
"silverstripe/cms": "4.6.0-rc1",
|
||||||
"silverstripe/cms": "4.x-dev",
|
"silverstripe/errorpage": "1.6.0-rc1",
|
||||||
"silverstripe/errorpage": "1.x-dev",
|
"silverstripe/graphql": "3.3.0-rc1",
|
||||||
"silverstripe/reports": "4.x-dev",
|
"silverstripe/reports": "4.6.0-rc1",
|
||||||
"silverstripe/siteconfig": "4.x-dev",
|
"silverstripe/siteconfig": "4.6.0-rc1",
|
||||||
"silverstripe/versioned": "1.x-dev",
|
"silverstripe/versioned": "1.6.0-rc1"
|
||||||
"silverstripe/graphql": "3.x-dev || 4.x-dev",
|
|
||||||
"silverstripe/session-manager": "1.x-dev"
|
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.5"
|
"phpunit/phpunit": "^5.7",
|
||||||
|
"sminnee/phpunit-mock-objects": "^3.4.5"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"project-files": [
|
"project-files": [
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<phpunit bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true">
|
<phpunit bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true">
|
||||||
<testsuites>
|
|
||||||
<testsuite name="recipe-cms">
|
<testsuite name="recipe-cms">
|
||||||
<directory>vendor/silverstripe/admin/tests</directory>
|
<directory>vendor/silverstripe/admin/tests</directory>
|
||||||
<directory>vendor/silverstripe/asset-admin/tests</directory>
|
<directory>vendor/silverstripe/asset-admin/tests</directory>
|
||||||
@ -9,10 +7,8 @@
|
|||||||
<directory>vendor/silverstripe/errorpage/tests</directory>
|
<directory>vendor/silverstripe/errorpage/tests</directory>
|
||||||
<directory>vendor/silverstripe/graphql/tests</directory>
|
<directory>vendor/silverstripe/graphql/tests</directory>
|
||||||
<directory>vendor/silverstripe/reports/tests</directory>
|
<directory>vendor/silverstripe/reports/tests</directory>
|
||||||
<directory>vendor/silverstripe/session-manager/tests</directory>
|
|
||||||
<directory>vendor/silverstripe/siteconfig/tests</directory>
|
<directory>vendor/silverstripe/siteconfig/tests</directory>
|
||||||
<directory>vendor/silverstripe/versioned/tests</directory>
|
<directory>vendor/silverstripe/versioned/tests</directory>
|
||||||
<directory>vendor/silverstripe/versioned-admin/tests</directory>
|
<directory>vendor/silverstripe/versioned-admin/tests</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
Loading…
Reference in New Issue
Block a user