PhanHoangAnh / travis-ci-templates

A series of templates to get you started with travis-ci integration in your repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis-ci templates

A collection (right now only node.js) of travis-ci templates to get you started in your own projects

The nodejs example is heavily skewed towards client-side testing, running qunit tests through phantomjs, but can easily be modified to run server side tests.

Getting started

  1. First you'll need to follow the getting started guide to hook up your github repository with travis-ci.

  2. Next copy the contents of the node folder into your repository, so in the root you should have the .travis.yml and 'test' folder.

  3. Modify the test/js/tests.js to include your own tests for your project.

  4. Commit and watch travis-ci run your test suite like magic.

Check out Modernizr which uses this exact template to run the test suite on commit.

Contributing

If you want to add a template for another language to help people getting started I will love you forever. Just fork this repo create a folder with the language name and add the necessary files within that folder and then send a pull request.

Licensed under MIT.

About

A series of templates to get you started with travis-ci integration in your repo


Languages

Language:JavaScript 89.4%Language:CSS 9.6%Language:HTML 1.1%