-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
61 lines (61 loc) · 3.12 KB
/
.travis.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: node_js
node_js:
- node
services: mongodb
cache:
directories:
- node_modules
install:
- npm install
branches:
only:
- master
- development
script:
- sleep 5
before_deploy:
- echo "Building client distribution."
- cd client
- npm i
- npm run build
- cd ..
- echo "Finished building client distribution."
- echo "Building server distribution."
- cd server
- npm i
- npm run build
- zip -r server.zip dist package.json .env-cmdrc .ebextensions
- cd ..
- echo "Finished building server distribution."
deploy:
- provider: s3
access_key_id: AKIAIVBBZFN7NFRWONSQ
secret_access_key:
secure: dFXDLJC8DWUFclbN9oLZVsayROkI6jCQQjZ8VSr5DFWwKEdhuj/sSfv9IKX+1n6Ayod/02xefsorodBWhHSCPT6iURDtzV81DizxfF14KbcFG2PcpQNVO7QWMiH1wP5VLYtIOiODFptl82cj2xFuWgqCN//iV4g9vLbWanE1wOJS75/RFY1oJTlluxjLl7RVeEGXghlbkjAsWQXo+hE5G068pax0zDX6DNg3ffW+d7/HQf2zSCbsNDm7kNV1x0FVxVOgL1byfNL7bAKtyGZ3aQ8B8qZk3FDznDeK8TrpB0C9EbK/bwte0TEq4UVxwdEr2hr11+69x4W33A2OLQu2wfpW/NKfNPhfp4j2FCkEDkD22R/IvoErkEuvvUtuZdLLGK0Edk2992rceVDjBXuhvtAFk/o46d19o+Iyf67LKdMpr3+HLbd5XykSg5WvtBz2eSJoCmkywzI/th7DHhegbYMlPUgl+Eql12lcnei5Q3CGvbZ3eAP90CMfo/YZBhuunH8C7ODP4BjS1PVJG9rb9H/KlJBDr5EMRtjFE4PxV2Wqd3PyZ1WwXJayCWsDR8cE8z71kvW8S1dV5TPt3ret9sS0kTzTcjXCZY7DpclTMO0v5+Q2TLUEEs+UrIgMB/VXJAJBPpf+2jBE6ex1vr/r19zRgLUROacJRSe6e1Wxhe8=
bucket: campfire-stories
skip_cleanup: true
region: us-east-1
local_dir: client/build
on:
branch: master
- provider: elasticbeanstalk
skip_cleanup: true
zip_file: server/server.zip
access_key_id:
secret_access_key:
secure: dFXDLJC8DWUFclbN9oLZVsayROkI6jCQQjZ8VSr5DFWwKEdhuj/sSfv9IKX+1n6Ayod/02xefsorodBWhHSCPT6iURDtzV81DizxfF14KbcFG2PcpQNVO7QWMiH1wP5VLYtIOiODFptl82cj2xFuWgqCN//iV4g9vLbWanE1wOJS75/RFY1oJTlluxjLl7RVeEGXghlbkjAsWQXo+hE5G068pax0zDX6DNg3ffW+d7/HQf2zSCbsNDm7kNV1x0FVxVOgL1byfNL7bAKtyGZ3aQ8B8qZk3FDznDeK8TrpB0C9EbK/bwte0TEq4UVxwdEr2hr11+69x4W33A2OLQu2wfpW/NKfNPhfp4j2FCkEDkD22R/IvoErkEuvvUtuZdLLGK0Edk2992rceVDjBXuhvtAFk/o46d19o+Iyf67LKdMpr3+HLbd5XykSg5WvtBz2eSJoCmkywzI/th7DHhegbYMlPUgl+Eql12lcnei5Q3CGvbZ3eAP90CMfo/YZBhuunH8C7ODP4BjS1PVJG9rb9H/KlJBDr5EMRtjFE4PxV2Wqd3PyZ1WwXJayCWsDR8cE8z71kvW8S1dV5TPt3ret9sS0kTzTcjXCZY7DpclTMO0v5+Q2TLUEEs+UrIgMB/VXJAJBPpf+2jBE6ex1vr/r19zRgLUROacJRSe6e1Wxhe8=
region: us-east-1
app: campfire-stories
env: projects
bucket_name: elasticbeanstalk-us-east-1-812452178264
on:
branch: master
notifications:
email:
recipients:
on_success: always
on_failure: always
env:
global:
secure: dFXDLJC8DWUFclbN9oLZVsayROkI6jCQQjZ8VSr5DFWwKEdhuj/sSfv9IKX+1n6Ayod/02xefsorodBWhHSCPT6iURDtzV81DizxfF14KbcFG2PcpQNVO7QWMiH1wP5VLYtIOiODFptl82cj2xFuWgqCN//iV4g9vLbWanE1wOJS75/RFY1oJTlluxjLl7RVeEGXghlbkjAsWQXo+hE5G068pax0zDX6DNg3ffW+d7/HQf2zSCbsNDm7kNV1x0FVxVOgL1byfNL7bAKtyGZ3aQ8B8qZk3FDznDeK8TrpB0C9EbK/bwte0TEq4UVxwdEr2hr11+69x4W33A2OLQu2wfpW/NKfNPhfp4j2FCkEDkD22R/IvoErkEuvvUtuZdLLGK0Edk2992rceVDjBXuhvtAFk/o46d19o+Iyf67LKdMpr3+HLbd5XykSg5WvtBz2eSJoCmkywzI/th7DHhegbYMlPUgl+Eql12lcnei5Q3CGvbZ3eAP90CMfo/YZBhuunH8C7ODP4BjS1PVJG9rb9H/KlJBDr5EMRtjFE4PxV2Wqd3PyZ1WwXJayCWsDR8cE8z71kvW8S1dV5TPt3ret9sS0kTzTcjXCZY7DpclTMO0v5+Q2TLUEEs+UrIgMB/VXJAJBPpf+2jBE6ex1vr/r19zRgLUROacJRSe6e1Wxhe8=