CodeCommitsIssuesPull requestsActionsInsightsSecurity
master

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS
SSH

Download ZIP

circle.yml

30lines · modecode

1machine:
2 node:
3 version: v0.10.26
4
5dependencies:
6 cache_directories:
7 - "~/nvm/v0.10.26/lib/node_modules"
8 - "~/nvm/v0.10.26/lib/bin"
9 - "~/.npm"
10
11 post:
12 - npm install -g gulp@3.6.2
13 - gulp build
14
15test:
16 pre:
17 - npm install -g karma-cli@0.0.4
18 override:
19 - karma start test/karma.conf.js --single-run
20
21deployment:
22 development:
23 branch: dev
24 commands:
25 - ./stout deploy --env development --key $AMAZON_KEY_DEV --secret $AMAZON_SECRET_DEV
26
27 production:
28 branch: master
29 commands:
30 - ./stout deploy --env production --key $AMAZON_KEY_PROD --secret $AMAZON_SECRET_PROD