pdenis / SnideTravisBundle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SnideTravisBundle

A quick overview of travis CI builds of your repository (Symfony 2 Bundle)

Build Status Scrutinizer Quality Score

Setup


Installation by Composer

If you use composer, add SnideTravisBundle bundle as a dependency to the composer.json of your application

    "require": {
        ...
        "snide/travis-bundle": "dev-master"
        ...
    },

## Loading

Add the bundle to your app/AppKernel.php under the dev environment
```php
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
    ...
    $bundles[] = new Snide\Bundle\TravisBundle\SnideTravisBundle();
}

The bundle needs to copy the resources necessary to the web folder. You can use the command below:

    php app/console assets:install

Configuration

Add SnideTravisBundle following to your app/config/config_dev.yml (you only want to use this in the dev environment)

snide_travis:
    repository:
        slug: pdenis/SnideTravinizerBundle # your repository slug
    # Optional
    filesystem_cache_path: "%kernel.cache_dir%/travis"

Overview

Travis builds

About

License:MIT License


Languages

Language:PHP 100.0%