Skip to content

Instantly share code, notes, and snippets.

@mason-stewart
Last active December 25, 2015 11:29
Show Gist options
  • Save mason-stewart/6969216 to your computer and use it in GitHub Desktop.
Save mason-stewart/6969216 to your computer and use it in GitHub Desktop.
Wercker is a cool continuous integration service that works well with just about any stack, including the ubiquitous Yeoman Webapp. This is the Wercker config file that works with the Yeoman Webapp generator (https://github.com/yeoman/generator-webapp). Drop this in the root of your repo, push it, and add your repo to Wercker at https://app.werc…
# wercker.yml
box: wercker/nodejs
# Build definition
build:
# The steps that will be executed on build
steps:
# A step that executes `npm install` command
- npm-install
- script:
# make sure that bower is listed in your package.json
# use `npm install --save bower` to add it.
name: bower install
code: node_modules/bower/bin/bower install
# this assumes that your test suite runs via `grunt test`
- grunt:
tasks: test
# Report the build status to HipChat
after-steps:
- hipchat-notify:
token: **YOUR HIPCHAT TOKEN***
room-id: **YOUR HIPCHAT ROOM ID**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment