Created
January 17, 2016 14:49
-
-
Save mitsuruog/ee724841d81c6ecab5e9 to your computer and use it in GitHub Desktop.
Revisions
-
mitsuruog created this gist
Jan 17, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,54 @@ # This references the default nodejs container from # the Docker Hub: https://registry.hub.docker.com/_/node/ # If you want Nodesource's container you would reference nodesource/node # Read more about containers on our dev center # http://devcenter.wercker.com/docs/containers/index.html box: node:4.2.2 # This is the build pipeline. Pipelines are the core of wercker # Read more about pipelines on our dev center # http://devcenter.wercker.com/docs/pipelines/index.html # You can also use services such as databases. Read more on our dev center: # http://devcenter.wercker.com/docs/services/index.html # services: # - postgres # http://devcenter.wercker.com/docs/services/postgresql.html # - mongodb # http://devcenter.wercker.com/docs/services/mongodb.html build: # The steps that will be executed on build # Steps make up the actions in your pipeline # Read more about steps on our dev center: # http://devcenter.wercker.com/docs/steps/index.html steps: # A step that executes `npm install -g` command - script: name: install npm -g code: sudo npm install -g grunt-cli bower # A step that executes `npm install` command - npm-install - script: name: install bower code: bower install --allow-root # A step that executes `npm test` command - npm-test # A custom script step, name value is used in the UI # and the code value contains the command that get executed - script: name: echo nodejs information code: | echo "node version $(node -v) running" echo "npm version $(npm -v) running" after-steps: - install-packages: packages: sudo gawk - hipchat-notify: token: $HIPCHAT_TOKEN room-id: $HIPCHAT_ROOM from-name: wercker on: failed