generator-travis-ci
v0.6.6
Published
Yeoman generator that sets up travis-ci to do automated github pages deployment on every commit.
Downloads
46
Readme
#yeoman init travis-ci
This is a yeoman generator that provides travis-ci setup for yeoman projects.
Available sub-generators:
- all
- gh-pages
- suggestions?
all
Simply sets up travis-ci.org to track your project and creates a basic .travis.yml that runs
travis test
on each commit.
Usage: yeoman init travis-ci
gh-pages
Aims to make yeoman sites work similar to jekyll sites on github pages. Commit the raw files and what is served is the built site.
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.
Warning! Currently you still have to log into travis-ci.org and enable the hooks for your specific repo, which is kind of a drag. Also, it assumes that you have the travis gem installed.
Usage: yeoman init travis-ci:gh-pages
In action
Generated .travis.yml file can be seen here.
Contribute
See the contributing docs