-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
37 lines (37 loc) · 1.01 KB
/
circle.yml
File metadata and controls
37 lines (37 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
machine:
node:
version: 6.9.1
environment:
YARN_VERSION: 0.17.8
PATH: "${PATH}:${HOME}/.yarn/bin"
dependencies:
pre:
- |
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
echo "Download and install Yarn."
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
else
echo "The correct version of Yarn is already installed."
fi
override:
- yarn install
cache_directories:
- ~/.yarn
- ~/.yarn-cache
test:
override:
- yarn test
deployment:
staging:
branch: staging
codedeploy:
deployment-testing:
application_root: /
revision_location:
revision_type: S3
s3_location:
bucket: terraeclipse.codedeploy.us-west-1
key_pattern: apps/deployment-testing/{BRANCH}/deployment-testing-{BUILD_NUM}-{SHORT_COMMIT}
region: us-west-1
deployment_group: deployment-testing
deployment_config: CodeDeployDefault.AllAtOnce