Yeoman generator for travis-ci setup [available for Yeoman >= 1.0 beta]
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

generator-travis-ci

Build Status

Installation

npm install -g generator-travis-ci

Usage

yo travis-ci

Requirements

Yeoman

Beta version 1.0 and hopefully all future versions.

GitHub

Travis is deeply integrated with github, and in order to set all the travis hooks for you, this generator must be run on project hosted on github. Your git remotes should looks something like this:

git remote -v

origin git@github.com:pwmckenna/generator-travis-ci.git (fetch)
origin git@github.com:pwmckenna/generator-travis-ci.git (push)

Sub-Generators:

default generator

Sets up travis-ci.org to track your project and creates a basic .travis.yml that runs grunt on each commit.

You can then display your projects build/test status in your README or elsewhere using a travis badge like above.

Usage: yo travis-ci:default

gh-pages generator

An automated alternative to https://github.com/yeoman/yeoman/wiki/Deployment. Aims to make yeoman sites work similar to jekyll sites on github pages. Commit the raw files into master and what is served via gh-pages is grunt build output. For user & organization pages, you specify the branch you'd like to develop in, and the output is pushed to master.

Creates a .travis.yml file that tells travis-ci to build the yeoman project in your master branch after every commit and push the built site into your project's gh-pages branch.

Usage: yo travis-ci:gh-pages

Suggestions?

If you have suggestions for common yeoman/grunt testing/deployment tasks that could be handled best by a continuous integration service, make a pull request or shoot me a message!

License

BSD license