snide/travis-bundle

为 Symfony2 应用程序的 Travis 客户端

安装: 0

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 0

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master 2014-03-09 18:39 UTC

This package is not auto-updated.

Last update: 2024-09-14 14:56:53 UTC


README

对您的仓库中 Travis CI 构建的一个快速概述(Symfony 2 扩展包)

Build Status Scrutinizer Quality Score

设置

使用 Composer 安装

如果您使用 composer,将 SnideTravisBundle 扩展包作为依赖项添加到应用的 composer.json 中

    "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();
}

该扩展包需要将必要的资源复制到 web 文件夹。您可以使用以下命令

    php app/console assets:install

配置

在您的 app/config/config_dev.yml 中添加 SnideTravisBundle,如下所示(您只希望在开发环境中使用此配置)

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

概述

Travis builds