phptek / silverstripe-shippable
Adds support for the Shippable.com CI SaaS.
Installs: 79
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 2
Type:silverstripe-module
Requires
- silverstripe/cms: >=3.0.0
- silverstripe/framework: >=3.0.0
This package is auto-updated.
Last update: 2024-12-19 13:00:51 UTC
README
A small bundle of files to help you get a SilverStripe project up and running on the Shippable CI SaaS.
Shippable is a flexible SaaS for CI and Deployments. It uses Docker based containerisation and is super-fast. It connects to both your BitBucket and GitHub repos, and can be configured to trigger a build from specific branches.
The shippable.yml
file is in the same format as Travis's and valid Travis YML is valid Shippable YML. See the docs for more info.
By default shippable.yml
is configured to only run builds on the your project's master
branch. You can change this to have shippable build from any project branch. See the docs for more info.
You can optionally show a "Shippable" / "Not shippable" Travis-like icon in your markdown documents, simply uncomment and adapt the (raw) markdown below.
Out of the box, these files will build your SilverStripe project as per your composer file (See Requirements
below) and run unit tests from your mysite
directory. Simply edit shippable.yml
with your own project-specific settings.
Requirements
Composer! Out of the box, your project will fail to build if you don't have composer files. If you have no need of composer (why not?) change/delete that line in shippable.yml
.
Installation
- Get the files:
#> git clone https://github.com/phptek/silverstripe-shippable.git
or#> composer require phptek/silverstripe-shippable dev-master
- Copy
_ss_environment.php
andshippable.yml
into your project's root - Edit
ss_environment.php
as per comments at the top of the file - Edit
shippable.yml
and changess_mysite
to the name of your own database
Feedback / bugs
russ AT theruss DOT com