Skip to content

Instantly share code, notes, and snippets.

Created May 17, 2017 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a0813195c9a0f6935961fe51c5287024 to your computer and use it in GitHub Desktop.
Save anonymous/a0813195c9a0f6935961fe51c5287024 to your computer and use it in GitHub Desktop.
machine:
environmnent:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
node:
version: 7.6.0
dependencies:
override:
- yarn
cache_directories:
- ~/.cache/yarn
test:
override:
- ./node_modules/karma/bin/karma start --single-run
deployment:
develop:
branch: develop
commands:
- bash ./deploy_digitalocean.sh develop
integrate:
branch: integrate
commands:
- bash ./deploy_digitalocean.sh integrate
stage:
branch: stage
commands:
- bash ./deploy_digitalocean.sh stage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment