This repository has been archived by the owner on Jun 11, 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: Q3nzCvER4BGX9o8T9Q2ZtIbh/+gu9FlMw7+OP15fC3tKQUObmPdLvGg+HtIcVVpbPESMhf/NacBMxIFw+yRSoxwRtV4vlKYdwmY5eLwNmSdEai+JAaeGluq2gIlPmGMfIpDe96IbBbQSKWA94SaEqLK9BkG0iGhD47SouLtbFyAE8wS6CJiXJ0UzPmGzW87c4e+t2y2iYbmITYSbsk/KOkvvxIgsziz2/fzzt0q29yrQp9Q4LCHQZR1yNWelE8KiqPze5NplIpwkjytd5Y/nd99ZS3WZpiqN0oW+mxtWHDw7ZgP5l+LqWXQnj7PmgAKuuiAToHqtHFjEaLCAezoRu6RymksoaoKSlF2UrhuVxc2ZMGBCrcz4Wx68Uhribqxp+deklns06oKUkGUMhtBdVdkArJj41JTQhiMfIgOm3cmbOyXQfVVM+wLFHlMZ7WM2FGwbx4TOt3gKnV0FBOIDk5mDko0ZrqTTDXJ78/LVzuLVzAhGKH81lKsnpprQXQW2mfFCAFbkWiZSB5fuCrhiDGgJRb+LMkMH6LVqNOdOAsUiY9OgXGaoN+2+gl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B0goSzKz5HrVfC3y/I5YwdiEjDLhz5MyVkppyIDn85TexBVP3lT6hH/+oI/78hmqsQiiN209WYTynieaUTdgeiLPeE+gOxRWoB/1Rk8/SX08CnJe1DigggTfH9BcmWOeW6YZMuoWhwAXf9UK5k3OSKzwr+1VkfNSOmZTvy7Kg9U39EmKgL3ocgBJNTQd28QAONjqiRRLEh/oXB4XtNQf8GLM8Pbo9j2DWg2EXm9mJ0S1QsDWTGlOZYkhA94Y/rvBZbuirpcSyPUqEZZzEZ74YRKg3EsbDtlGv+0Kdu9AR8N0T85PUf2Kbo3EZZyL/h1lzr21qpdeQ9nEwGPBsLaDvOxuxFidxMchytF8sAr6McJF+WmOa+VR2p1wVqFXblmWk28K5XcXw8ut18RknTqkILJ09NdNEuPDD5e7S6s/iXS/bI2MeXm3D4=
region: eu-west-1
bucket: static.fd.nl
skip_cleanup: true
acl: public_read
local_dir: dist
upload_dir: react/breaking-teaser
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-teaser/*"