CodeCommitsIssuesPull requestsActionsInsightsSecurity
e8f4ca02ed5b43daf590aa12e826e8e5c40b66dc

Branches

Tags

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

Clone

HTTPS

Download ZIP

circle.yml

32lines · 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 bower@1.3.8
13 - bower install
14 - gulp build
15 - go get github.com/tools/godep
16 - git clone git@github.com:EagerIO/Stout.git
17 - cd Stout; godep go build -o ../stout src/*
18
19test:
20 override:
21 - echo "No tests!"
22
23deployment:
24 development:
25 branch: dev
26 commands:
27 - ./stout deploy --env development --key $AMAZON_KEY_DEV --secret $AMAZON_SECRET_DEV
28
29 production:
30 branch: master
31 commands:
32 - ./stout deploy --env production --key $AMAZON_KEY_PROD --secret $AMAZON_SECRET_PROD