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

dev-master 2015-02-12 23:33 UTC

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 and shippable.yml into your project's root
  • Edit ss_environment.php as per comments at the top of the file
  • Edit shippable.yml and change ss_mysite to the name of your own database

Feedback / bugs

russ AT theruss DOT com