forked from Sage-Bionetworks/BridgeResearcherUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 917 Bytes
/
.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
language: node_js
node_js:
0.12.3
script:
- mocha --recursive
- webpack -p
- gzip --best --stdout app/dist/bundle.js > app/dist/bundle.js.gz
deploy:
- provider: s3
access_key_id: ${AWS_KEY}
secret_access_key: ${AWS_SECRET_KEY}
bucket: "research-staging.sagebridge.org"
skip_cleanup: true
acl: public_read
detect_encoding: true
endpoint: research-staging.sagebridge.org.s3-website-us-west-2.amazonaws.com
region: "us-west-2"
local_dir: app
on:
branch: develop
- provider: s3
access_key_id: ${AWS_KEY}
secret_access_key: ${AWS_SECRET_KEY}
bucket: "research.sagebridge.org"
skip_cleanup: true
acl: public_read
detect_encoding: true
endpoint: research.sagebridge.org.s3-website-us-west-2.amazonaws.com
region: "us-west-2"
local_dir: app
on:
branch: release