From 5cabb11edbef2d67cbef75d43d6f89acde1fee4c Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 1 Aug 2022 10:04:24 +1200 Subject: [PATCH] MNT Standardise modules --- .codecov.yml | 3 --- .github/workflows/ci.yml | 2 +- .github/workflows/keepalive.yml | 2 +- .travis.yml | 8 -------- README.md | 11 +++-------- phpunit.xml.dist | 1 + 6 files changed, 6 insertions(+), 21 deletions(-) delete mode 100644 .codecov.yml delete mode 100644 .travis.yml diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index 9e7c8382..00000000 --- a/.codecov.yml +++ /dev/null @@ -1,3 +0,0 @@ -comment: false -codecov: - branch: master diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2060b16..d4f83db1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,5 +12,5 @@ jobs: ci: name: CI # Only run cron on the silverstripe account - if: (github.event_name == 'schedule' && startsWith(github.repository, 'silverstripe/')) || (github.event_name != 'schedule') + if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1 diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index ebf9716b..4cf5fbb2 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -10,7 +10,7 @@ jobs: keepalive: name: Keepalive # Only run cron on the silverstripe account - if: (github.event_name == 'schedule' && startsWith(github.repository, 'silverstripe/')) || (github.event_name != 'schedule') + if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') runs-on: ubuntu-latest steps: - name: Keepalive diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c53b5ae7..00000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -version: ~> 1.0 - -import: - - silverstripe/silverstripe-travis-shared:config/provision/standard-jobs-fixed-behat-npm.yml - -env: - global: - - BEHAT_SUITE="cms" diff --git a/README.md b/README.md index 0827dc2e..e8029102 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,7 @@ -## SilverStripe CMS +## Silverstripe CMS [![CI](https://github.com/silverstripe/silverstripe-cms/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-cms/actions/workflows/ci.yml) -[![Latest Stable Version](https://poser.pugx.org/silverstripe/cms/version.svg)](http://www.silverstripe.org/stable-download/) -[![Latest Unstable Version](https://poser.pugx.org/silverstripe/cms/v/unstable.svg)](https://packagist.org/packages/silverstripe/cms) -[![codecov](https://codecov.io/gh/silverstripe/silverstripe-cms/branch/master/graph/badge.svg)](https://codecov.io/gh/silverstripe/silverstripe-cms) -[![SilverStripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/) -[![Total Downloads](https://poser.pugx.org/silverstripe/cms/downloads.svg)](https://packagist.org/packages/silverstripe/cms) -[![License](https://poser.pugx.org/silverstripe/cms/license.svg)](https://github.com/silverstripe/silverstripe-cms#license) +[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/) PHP Content Management System (CMS), see [http://silverstripe.org](http://silverstripe.org). Requires the [`framework`](http://github.com/silverstripe/silverstripe-framework) module and a [`silverstripe-installer`](http://github.com/silverstripe/silverstripe-installer) base project. @@ -21,7 +16,7 @@ Please read our [issue reporting guidelines](https://docs.silverstripe.org/en/co ## Development and Contribution -If you would like to make changes to the SilverStripe core codebase, we have an extensive [guide to contributing code](https://docs.silverstripe.org/en/contributing/code). +If you would like to make changes to the Silverstripe core codebase, we have an extensive [guide to contributing code](https://docs.silverstripe.org/en/contributing/code). ## Links diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 82808aba..fb96a88b 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,3 +1,4 @@ +