Git Product home page Git Product logo

dashing_travisci's Introduction

Dashing Travis CI Widget

Description

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

Dependencies

travis time_ago_in_words

Add them to your dashing's Gemfile.

gem "travis"
gem "time_ago_in_words"

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

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.

dashing_travisci's People

Contributors

halcyoncorsair avatar phlipper avatar

Watchers

James Cloos avatar Tancrède Besnard avatar Matthieu Gendreau 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.