Travis CI widget for Dashing
Ruby CoffeeScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 4 commits behind zendesk:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets/images
config
jobs
widgets/travis
LICENSE
README.md

README.md

Dashing Travis CI Widget

Description

Simple Dashing widget to display the status of the latest build for a repository.

Dependencies

travis

Add it to your dashing's Gemfile.

gem "travis"

Configuration

The Travis CI job expects config/travisci.yml that looks like:

org:
  auth_token: my_org_auth_token
  repositories:
    ci_travis_radar: zendesk/radar
  type: org
pro:
  auth_token: my_pro_auth_token
  repositories:
    ci_travis_radar: zendesk/zendesk
  type: pro

repositories is an hash of repositories and the keys (eg. ci_travis_radar) map to a dashing data-ids. type selects whether or not to use a pro travis account.

To include the widgets in a dashboard, add the following snippet to the dashboards layout file:

<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
  <div data-id="ci_travis_radar" data-view="Travis" data-unordered="true" data-title="Radar"></div>
</li>

<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
  <div data-id="ci_travis_zendesk" data-view="Travis" data-unordered="true" data-title="Zendesk"></div>
</li>

Preview

Contributors

Elliot Pahl, Zendesk
Jason Smale, Zendesk

Copyright and license

Copyright 2013 Zendesk

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.