Giter Club home page Giter Club logo

martha's Introduction

martha

Because not all Continuous Integration solutions need to be named after old men.

Installation

Installation is simple:

git clone https://github.com/martha-ci/martha.git
cd martha
curl -sS https://getcomposer.org/installer | php
php composer.phar install

Edit your config/autoload/system.local.php file and fill out the proper database connection information.

Authentication/Authorization

Not available yet.

Project Setup

Projects can be setup in the UI by clicking on 'New Project.' Plugins exist to pull projects from remote sources, such as GitHub, and can be installed via Composer (see below).

Build Configuration

Martha looks for a build.yml file in the base directory of your project. This file outlines the steps Martha should take to build your project and report its status.

An example configuration:

pre:
  - curl -s https://getcomposer.org/installer | php
  - php composer.phar install --prefer-source --dev
build:
  - phpcs --standard=PSR2 -n --report=checkstyle --report-file=${outputdir}/checkstyle.xml src/

The pre: section outlines the various steps to take to prepare the project to be built. These are simple commands to be run. Any used command line tool must be installed on the system.

The build: section outlines various steps to take to build the project. Again, these are simple commands to be run. Any used command line tool must be installed on the system.

The post: section outlines various steps to do after a project has built. The failure: section only runs if the build is determined to be a failure, and the success: section runs only if the build is determined to be successful.

Variables

The following variables can be defined and will be replaced with real world values during parsing:

| Variable | Replaced With | | ------------- |:-------------:| -----:| | ${outputdir} | The output directory for the build where artifact files can be stored |

Artifacts

During the build process, artifacts, or output files, can be stored in the build directory to be later referenced when reviewing the build. These can also be used by various plugins to draw graphs or output general information or statistics.

Using Plugins

Any plugin created for Martha can be installed by Composer.

TODO: document how.

martha's People

Contributors

mrkrstphr avatar

Watchers

Josh Morningstar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.