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.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: TFz9DkufIBx4oV+qkivJW2Cx9MjXEW1i/T6z7wG2Grkv7ZjZyhR0jmie3Qg/41XSTneF5if8syBM1QH9+ZcdkUcfbFtKQusT4NCmrbeKo77jhXFw5akqCgFaSnP0n4PWuq+VEGfQCul6/OKFHuHpRNm4ZxPIfiQWBpbKVEZf5SJQ/7nNb/iOHIgrNlqQT2WUaWmDg5XSQUdnAfMVYyNv7WPi787GKMhD85XY1ZZ71UYs8VXq3TcsOUBpZn29XMTyHhTRITUWW7Ggc0I/VqUCmlA25qsQ8CvhGIz6Dmck3DnjWIAb43dvP3V/4u/HQMLHVyK0yFu8AFG8XKTfPYRHIdHwO1dn9WllWib8jLL6BZGXUj7+niNy+cQS1EFWG9HpjxABenMch+MrdnuQwl9KKQqjZxOQv3F2/1i323NOhJJ/S8jWxpHI7ukR8jhOFuQ0yELtrgiU1gl2Plp9+elR6ZoxBwOMtTT/vpDvhYivekTJ5E2xX9TJg2RK9ijR5VFsAsdyzCOOrgAwqgMhEtQnEh0RcJqJK9z7xcdrQbv+Xv1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NUAVEvMmdeRn3YNOh6k69p+qsSrB2OjQAgcv6NBuWDzi/jwpiCCPvWdgtk1VPdZkFLNpKxypaejsT1d40/I5mRRlsEs3Y5fU93XLKnzzbQoh1cUP4X+ONMJ6HDJX6/q0DZYPW/ajPMvWZPaJBazqa01uztr7No9Ep6XVxAwYKVX0TADmufs3EFFgK9TY1n7FV5g8iynwzzuL3Ftl/X9FbxFTby30702i1uaDHr14SE7imKpCQaa6rGqkRrBf9b6VfihLlifbKr6bN4vgo/T5iLIaMEgp39oPQDSOBRy4wR/CI9g/KHAdTLVGg3cVbBvdbUIWdfAm6FHeFUW7K4C1uq9q4d4zoB5gugrE+v6cHQqDGyB0uhssrNtjBacKOSBuqbfK0oUiFR2snnQNwy5WiAOhI1Dk6K38arcW1LsghX2VZKYOHtMXYlgkk+msl20LQ=
region: eu-west-1
bucket: static.fd.nl
skip_cleanup: true
acl: public_read
local_dir: dist
upload_dir: react/search-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/search-teaser/*"