-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 1.32 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
language: node_js
node_js:
- 6
cache: yarn
script:
- yarn run lint
- NODE_ENV=test yarn test -- --coverage
after_success:
- bash <(curl -s https://codecov.io/bash)
before_deploy:
- NODE_ENV=production $(yarn bin)/webpack
deploy:
provider: s3
region: us-east-1
bucket: gifs.bjacobel.com
acl: public_read
local_dir: dist
skip_cleanup: true
on:
branch: master
after_deploy:
- pip install --user awscli
- export PATH=$PATH:$HOME/.local/bin
- aws configure set preview.cloudfront true
- aws cloudfront create-invalidation --distribution-id EH49LPYEWBIUB --paths /index.html /main.js
notifications:
email: false
slack:
secure: IhGd0NkKkldDt6xwvNi4wK37fTN/0RMPy89bSYUsaLVazNRi29KfkmWbxpRY4MFB2xe6aEOjii4lC4i0/uO/i9ya7wVwoLWErdRLq1rPZH/feKYvhvPqJd8pTjk/nkBEVpPf0REE3YlrO9gNrdpklCIhCqv97fGQBNIVWeQhoqWdDSOQl63MWRPpumS0bZMtpPCzt+m28c1Y2wirYtUlbnHpHMEYPN/fJjlKMNl8fs+EiQT224HJFP49xnPO4tcvjgLx90yB6I+SiINCRtviHc1P7Gve1Et/qyI0JnRbbXYP4SXAThq6WjjEtG+EeLZl9n5s4HRs96EKiy3gvHcpd/q9dps94RYL638ETXiADhx5bpwm3QpQCj96bY1mJsMINhoXvqXFhlNfIICTOPYdf9AK5Fv1oW8wFRQk1GsS1daNKmMcHZwyGzGJ1YmtXFZ8iu2BJYyv+1N5OWEpuLRSRHFg3SdyRKIExLf39soyU5VfO6tRhPAI9kDoD4IoItASC3ahsZmUtqAj81NGnr0s8bLzGDms8kuYMZIPCeG8on5fj4IJZB7gJ8Y+2LvQU+QYeU75nxW2SKuH0qaEbZuydLkWG4qEgjxiMV2lMmOIpIG+OmE5LiZlieyTO4qS+Vdu0KrEMeWyBNWpDN5LZoT+BPSObbmr9WfSvE6Z/4x6+kQ=