This repository has been archived by the owner on Jun 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (58 loc) · 3.4 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: [email protected]
on:
branch: master
api_key:
secure: Dz6F4QpwM5qzhCxXyPtpFHuAVSsufsNjMxCQcqVUXevuAGH/4FfYm6QJXA5gS0/LMDeXJMLMH2B3RFlotA68pE5bxdmCOoquuARfVK4S9mdtiPnvfFSMrBRg+aztX4gZxSjyNaS7J0PQXN1UDZieD75H5ChsBddh4wDmCrH77vx7vUtLU9V7NZC8t5KnW/M91Ge6aaiH5lDkEQtdMVSF9EBl8yQ4mCxNkflKBti+c0haXrxdLNniVcpYzD3LOY+ub+N4sGoTz4BykvHPOK28J95dcow3PsMhGuSV5UTVRBlgew3sSVgwphrl27cu/Wx6lKI5Y1hsMbjoOY2k4KLP0X7vNoLVkesisUiX2LvJDPM/5Hzx0YmfxMp4jJeJZm47cyaKtLq9oLLX9JGsbx9wjIL5eG+p8ZZCwFCxErZkfFDjhbrKfgOO8h/RGp+FdkHpXfDCL96sm0WVhW8jBD9hnBjjbeF/OI1DGWmhhQ02UjEmWQw5y868V+tP2yuj/P/knMtDkjDKVcy2FhPB3c18EJ8FgAXXxYz9jjBD2Y3Jdl3sJZgep8dFEZvxE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ENjAuNhVRRKA3EZIIWR795hE/+yhMOJw0mzmraOMFOqtkmpO2b+FHw5XoTgoE2wu70ZMuJ23d/lnojnn9IQ73xN5LfO6HfzOwS2DJy21mFjoQPU740HSQ9ednJVGEAiEyjpNC1Mx2mDRbh4ePoDibR7HcMmwPlxuhWIRMzKuqM96JZQqKgSmDNaWA/gX6seg9RWVfaN/JxTNkYoHvuJR6ovTrwUnx6Q+eGTknf96irFC8BOAwYBtihHQCvMX40oSugiFaojEB8fBROjdTKvCb9uZNPeI7olK6oziNUZ8UO5GxkCZAnHa5kK+vQL4yMi6GBRJVcm1oTnPu5eUZDWpKPYh+to44ZlhrbuF1M2mvnq6VK3C50ilcuVbHmaOm6MH/1lxRS6QKBhaGBWZueif4WA30fOM6wiXLuCEtmzzTDI=
region: eu-west-1
bucket: static.fd.nl
skip_cleanup: true
acl: public_read
local_dir: dist
upload_dir: react/breaking-news-alert
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/breaking-news-alert/*"