Compare commits

..

1 Commits
4 ... 4.4.4

Author SHA1 Message Date
Aaron Carlino
71e708cf2a Update development dependencies 2019-09-24 17:11:23 +12:00
8 changed files with 63 additions and 83 deletions

View File

@ -1,7 +1,7 @@
{
"github-slug": "silverstripe/recipe-cms",
"child-stability-inherit": true,
"dependency-constraint": "loose",
"dependency-constraint": "exact",
"vendors": [
"silverstripe"
],

View File

@ -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

View File

@ -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

View File

@ -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

32
.travis.yml Normal file
View File

@ -0,0 +1,32 @@
language: php
env:
global:
- COMPOSER_ROOT_VERSION=4.4.x-dev
matrix:
include:
- php: 5.6
env: DB=MYSQL
- php: 7.0
env: DB=PGSQL
- php: 7.1
env: DB=MYSQL
- php: 7.2
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.1.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

View File

@ -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)
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
[![Build Status](https://travis-ci.org/silverstripe/recipe-cms.svg?branch=4)](https://travis-ci.org/silverstripe/recipe-cms)
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:
Provided by [silverstripe/recipe-core]:
@ -22,12 +21,11 @@ Provided by [silverstripe/recipe-cms]:
* [errorpage](http://github.com/silverstripe/silverstripe-errorpage)
* [reports](http://github.com/silverstripe/silverstripe-reports)
* [graphql](http://github.com/silverstripe/silverstripe-graphql)
* [session-manager](http://github.com/silverstripe/silverstripe-session-manager)
* [siteconfig](http://github.com/silverstripe/silverstripe-siteconfig)
* [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
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
Silverstripe recipes work.
SilverStripe recipes work.

View File

@ -5,23 +5,21 @@
"homepage": "http://silverstripe.org",
"license": "BSD-3-Clause",
"require": {
"php": "^7.4 || ^8.0",
"silverstripe/recipe-plugin": "^1.7",
"silverstripe/recipe-core": "4.x-dev",
"silverstripe/admin": "1.x-dev",
"silverstripe/asset-admin": "1.x-dev",
"silverstripe/campaign-admin": "1.x-dev",
"silverstripe/versioned-admin": "1.x-dev",
"silverstripe/cms": "4.x-dev",
"silverstripe/errorpage": "1.x-dev",
"silverstripe/reports": "4.x-dev",
"silverstripe/siteconfig": "4.x-dev",
"silverstripe/versioned": "1.x-dev",
"silverstripe/graphql": "3.x-dev || 4.x-dev",
"silverstripe/session-manager": "1.x-dev"
"silverstripe/recipe-plugin": "^1.2",
"silverstripe/recipe-core": "4.4.4@stable",
"silverstripe/admin": "1.4.4@stable",
"silverstripe/asset-admin": "1.4.4@stable",
"silverstripe/campaign-admin": "1.4.2@stable",
"silverstripe/versioned-admin": "1.2.3@stable",
"silverstripe/cms": "4.4.4@stable",
"silverstripe/errorpage": "1.4.2@stable",
"silverstripe/graphql": "3.1.4@stable",
"silverstripe/reports": "4.4.1@stable",
"silverstripe/siteconfig": "4.4.2@stable",
"silverstripe/versioned": "1.4.3@stable"
},
"require-dev": {
"phpunit/phpunit": "^9.5"
"phpunit/phpunit": "^5.7"
},
"extra": {
"project-files": [

View File

@ -1,18 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true">
<testsuites>
<testsuite name="recipe-cms">
<directory>vendor/silverstripe/admin/tests</directory>
<directory>vendor/silverstripe/asset-admin/tests</directory>
<directory>vendor/silverstripe/campaign-admin/tests</directory>
<directory>vendor/silverstripe/cms/tests</directory>
<directory>vendor/silverstripe/errorpage/tests</directory>
<directory>vendor/silverstripe/graphql/tests</directory>
<directory>vendor/silverstripe/reports/tests</directory>
<directory>vendor/silverstripe/session-manager/tests</directory>
<directory>vendor/silverstripe/siteconfig/tests</directory>
<directory>vendor/silverstripe/versioned/tests</directory>
<directory>vendor/silverstripe/versioned-admin/tests</directory>
</testsuite>
</testsuites>
<testsuite name="recipe-cms">
<directory>vendor/silverstripe/admin/tests</directory>
<directory>vendor/silverstripe/asset-admin/tests</directory>
<directory>vendor/silverstripe/campaign-admin/tests</directory>
<directory>vendor/silverstripe/cms/tests</directory>
<directory>vendor/silverstripe/errorpage/tests</directory>
<directory>vendor/silverstripe/graphql/tests</directory>
<directory>vendor/silverstripe/reports/tests</directory>
<directory>vendor/silverstripe/siteconfig/tests</directory>
<directory>vendor/silverstripe/versioned/tests</directory>
<directory>vendor/silverstripe/versioned-admin/tests</directory>
</testsuite>
</phpunit>