[Looking for a maintainer! Contact me if you are interested to take over this project] CI status dashboard for all your Travis repositories
PHP HTML JavaScript ApacheConf CSS Shell
Switch branches/tags
Nothing to show
Clone or download
diosmosis Merge pull request #25 from piwik/travis_v3_api
Use travis v3 API to get around hard coded limit in travis API
Latest commit 8ce6dd0 Oct 15, 2015
Permalink
Failed to load latest commit information.
app
src
web
.bowerrc
.gitignore
LICENSE
README.md
bower.json
composer.json
composer.lock Update Mar 12, 2015
update.sh Fixed the deployment script Oct 6, 2014

README.md

CI Status dashboard

The CI Status dashboard is a web application that shows a build status summary for all your repositories.

It will fetch the continuous integration status for repositories on Travis-CI.org or Travis-CI.com.

Installation

Requirements

CI Status requires PHP 5.5 or higher. To use CI Status you need a GitHub account and a Travis-CI account.

Create a Github application for OAuth authentication

You need to create a GitHub application so that you can have an Client ID and Client secret to integrate with GitHub's API.

This is necessary to allow users to login into CI Status with their GitHub account.

Production setup

These commands will setup the application and ask you for the application Client ID and Client secret:

$ export SYMFONY_ENV=prod && ./composer.phar install --no-dev -o
$ ./bowerphp.phar install
$ app/console cache:clear --env=prod --no-debug

If you hit GitHub's API limit with Composer, use the --prefer-source flag. If you hit it with Bower, you need to set a BOWERPHP_TOKEN environment variable, see the documentation.

To improve security and privacy, be aware that users GitHub tokens are stored in the sessions. You need to take care of how those sessions are stored on your server to protect those tokens. It is recommended that you set up a short expiration time and ensure that the session files are correctly garbage-collected.

Local setup

CI Status is a standard Symfony application:

$ composer install
$ bower install
$ app/console server:run

Note: on Ubuntu you may need to run sudo apt-get install php5-intl.

Configuration

You can set the following options in app/config/parameters.yml:

parameters:
    # ...

    # Exclude specific repositories from the dashboard
    excluded_repositories:
        - piwik/piwik-tests-plugins
        - piwik/piwik-python-api

Credits

Built by Piwik and released under the GNU Affero GPL license v3.

Pull requests are welcome!