Skip to content

Instantly share code, notes, and snippets.

@chiehwen
Created August 27, 2014 10:25
Show Gist options
  • Save chiehwen/85e35e1383e0f51f1daa to your computer and use it in GitHub Desktop.
Save chiehwen/85e35e1383e0f51f1daa to your computer and use it in GitHub Desktop.
machine:
node:
version: v0.10.26
ruby:
version: 2.1.2
checkout:
post:
- "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
dependencies:
post:
- bower install
test:
override:
- ./scripts/circle/test.sh --index=$CIRCLE_NODE_INDEX --total=$CIRCLE_NODE_TOTAL: {parallel: true}
deployment:
tasks:
branch: master
commands:
- ./scripts/circle/deploy.sh --sha1=$CIRCLE_SHA1 --index=$CIRCLE_NODE_INDEX --build-number=$CIRCLE_BUILD_NUM: {parallel: true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment