summaryrefslogtreecommitdiff
path: root/deps/npm/wercker.yml
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/wercker.yml')
-rw-r--r--deps/npm/wercker.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/deps/npm/wercker.yml b/deps/npm/wercker.yml
new file mode 100644
index 0000000000..f944a95521
--- /dev/null
+++ b/deps/npm/wercker.yml
@@ -0,0 +1,22 @@
+box: wercker/nodejs
+# Build definition
+build:
+ # The steps that will be executed on build
+ steps:
+ # A step that executes `npm install` command
+ - npm-install
+ # 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:
+ - sherzberg/slack-notify:
+ subdomain: npm-inc
+ token: $SLACK_TOKEN
+ channel: github-commits