Giter Site home page Giter Site logo

favis-ci's Introduction

Favis CI Build Status

Continuous Integration in your Favicon.

Introduction

Favis CI is a JavaScript plugin that modifies your favicon to include the latest build status of your project in Travis CI.

Usage

To use Favis-CI on your pages, just do:

var favis = new Favis('<username>/<repository>');

For example, to generate a Favis CI favicon for the Ember.js project, do:

var favis = new Favis('emberjs/ember.js');

Running Tests

What good is this plugin if it doesn't support tests right? To run the tests, you must first install Cairo which is a dependency of node-canvas. You'll be needing that because jsdom doesn't fully support the Canvas API (yet). Take note: Cairo is around ~100mb in size.

Follow these instructions on how to install node-canvas properly.

If libpng fails, try installing this binary.

If you got error error: mandatory image surface backend feature could not be enabled or Package cairo was not found in the pkg-config search path., the following command can resolve it:

$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

If you encounter errors regarding glib, it probably means you need to install it. To do this, run:

$ brew install glib

After the installation, run:

$ cd favis-ci # cd to Favis CI's root directory
$ npm install # then install dependencies

Then run:

$ npm test

Special Thanks

A warm thank you goes to Miroslav Magda for his favico.js where this idea came from. Also, Favis-CI based some of its code-base from it. Thanks a lot!

License

Favis CI is licensed under the MIT License. Copyright © and proudly crafted by Jaune Sarmiento, 2013.

Bitdeli Badge

favis-ci's People

Contributors

bitdeli-chef avatar jaunesarmiento avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.