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: YXfSsowOVfEA9hD1jfW+/AUZdCXSvgNafu+zitDPdl+C276q5PvTc+viLzTMqjC1vwiwx8dDkpo8cC8a9WahgE2BFqIe2vor836jFnqiKdfyIFxGXmLCoRGUZC0zMSWWCqE/DJ/KjdmnRGDZZAoMP8/+9ziX7NiuJDvDreiwLo+b37PDOERstOZlmWQgvaDFdIYXzgjWzPqmuhQIS+SHo6Qv97lDkjhZcMulBk3mNNMjzrv7y+P0isQQvqo9lJEvJHRpIoAHW76FS25z9QWiI61nSgJFZhMcx0iEadz6YRPiOvsOJ2svwxS+5sskGrCPPl5oe9/qjvb0jSu6kD+2ahnHkoWfAiKM6adXp8fmK2+DkxyLWHyml2KnILgl9/dDDo9HWgerZ8Z4be0y8ixx2Gg35xHfafIYQjoQDHKe6C5JRbDjwx6BTffASNUMBPhRei/d8pFD9QefKFQfcnVbB6ZooCYr1RsFV6qcVQNgZUZXBozZIfpWi/g5t5d1T7ajYF+dvMt/3pGO+s/l+4ktpFdh145wpe0ysHLrmsbNju/6TPfhUyggJuUTHPz63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0itmLUswy1qON/IvRNOLnz0/PhTXxGADjTilZIAtZQMehHvcKTfwhJ1qnx2yWplbasdt5RDXXDgMKU1j+v1xCzsv+heAG4iaooSUzTgH9qOM0LRXIGesKN0aDHezvvwuKoNSrA/Yc5a5E4sxgGny7csU54t1+BmJiQOjNVmNjtj/cnHGcNydHOHg6hQSP7qNNaLCgend5fxOidq2qOnFNLKmu1ENKD+lxc44z3hL/h218nncUkICK12KiytRIwYCbp1g8Ijy9TVlc3iLOOpKv/cgkO7uL4FNl6AXNFAoIKrYu/kzF+h+sSN8HVnoM390DOIIJJxi0HHbGSp2FfJltlNk0w2+BJJ34f/OV6wZ4xVWm0bhrq4ngH0RICQKS8E6LFhuNnqNZTwMYzkjlOXhjdao0Zfh2iaXRTh1HZuvaP9lICpW2YMFY=
region: eu-west-1
bucket: static.fd.nl
skip_cleanup: true
acl: public_read
local_dir: dist
upload_dir: react/my-interests
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/my-interests/*"