This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (58 loc) · 3.39 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
language: node_js
node_js:
- 11.10.1
python:
- "3.6"
cache:
- pip
addons:
apt:
packages:
- nodejs-legacy
branches:
only:
- master
- "/^greenkeeper/.*$/"
stages:
- test
before_install:
- pip install --user awscli
- export PATH=$PATH:$HOME/.local/bin
install:
- npm install
jobs:
include:
- stage: test
name: Build demo
script: npm run build-demo
- stage: test
name: Unit test
script: npm test
after_success:
- cat ./dist/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
deploy:
- provider: npm
email: willem_liu@hotmail.com
on:
branch: master
api_key:
secure: R+P0iAdtuaH8kmr3ycK6LP0auDzkCt9fdpzSPVo7xCvMsYmmONgd4fUzbZ4HAJ33CUwFunxaiPb0PZ/HtmsF3wR5FmlAPUA+LU+E7Vk4Iy13F2Kd/FfjQXZPqA+dsBiVqnV0odM7FYBa+/tVkUZG6dr7zkD+A0xdaNjMS3OjbF4FeiicKZeHbjTe6TqPV+cS56SI6Ugi/hv2kZoDo+SuOzFlhOuqSEktMLLzK/jTH89ar0lzhS7Dy4rErTMzwXdDzSTlWCcVdHdGTtUS+Q42MtRRPiKlm3IPUNmTQYOOQapbLTxtrWUFTBqnXumf5MERwJOWWdVZr0OPa13KxV0j9bcXMT1eF6jOTwKv20SMhqvxmoWMhF9Brh8QSpzwA8YZ757RBbBvshQedflWfvtGd45m9ngim4kj8N9Kmk+X+9wcE87SBU8Pq/vFALDFBbSdmg3v8z3msaoq7EiFcvltVpfhzlZY2ka00ecQNMNjlLueGT6nVFyEorip5b+GHYVbBVjQwKvS3vt5skNtt58nfE0d6SH+QuieCnJ2SwXTtIeUB2Nds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Xjty7QN00WrRPprgIU5NBsEzn5VGGXF+MOVAtVZi4twfz0dA1YXFClVgJ7IHD8SxCfj3FRdKQDtHBcRjX5Jt1x0f36g82PjYcyIQumyFEzoCjK09HCXE4D2D8T3Url/CmX1CoER1T+CpT+VUxt3H04t1VTYXjEPx5WS4pUbEHCxgTU95xTUT3D2K9SdkaMtFX+SP3VVhzL/97YZpOSj8u1EJ3UQHtrLCi5CBjj/mAFwlBAvN5de7NBkXTPI7QL+xv7M982/9jWuNI/oN6aE4EYUvkxkou6TkVm7S+KJBHgdLsUKZd984O1xwgvmmkBVbO9kRju446Sc4JAYrjboQWxCzyEoMxUIWeOct7OFXCat0zTi6a0sAfjdMcuIW6G9DUUwm7mapOL3vigwlmbZKxDFVNA/PqZ3zBavGgwkATeo/VQWzxJqlvGmwRVy9SDGuZrhUvg=
region: eu-west-1
bucket: static.fd.nl
skip_cleanup: true
acl: public_read
local_dir: dist
upload_dir: react/saved-articles
on:
branch: master
notifications:
webhooks: https://outlook.office.com/webhook/09d65d9c-ba4d-4ce4-8ff9-985e1ea578a1@8f2a0bdd-25fe-430a-adb5-0d2367dd50ee/TravisCI/308b447ae6eb4c3f9c7e153e97a4bd25/aaeb5e7b-fe7b-4d97-9adf-3089c10da2cc
on_success: change
after_deploy:
- aws cloudfront create-invalidation --distribution-id $CDN_DISTRIBUTION_ID --paths
"/react/saved-articles/*"