Skip to content

Instantly share code, notes, and snippets.

Created June 15, 2017 06:03
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/950683b3d11e4e1f4e97d8450bb3a0b9 to your computer and use it in GitHub Desktop.
Save anonymous/950683b3d11e4e1f4e97d8450bb3a0b9 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:
pre:
- npm install -g bower
- npm install -g karma
override:
- echo $PATH
- 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