This repository has been archived by the owner on Jul 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
57 lines (57 loc) · 3.37 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
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: JlvYe1nProTsnN+2ibZxwAdiFkh5SJ7e4uPoNVI3GHHpQ9KpaMfQIg8RZmyYbqNcNTHbunqC5xn/jn3nQg19Nnjk0+wqIMOWouxc5873SdLAfClgo/AiKVGm0q/Pl7f6BitE4sZPo3YDP0SAnC2NlZGxM1xH2bPFBx/hRcLYDRmNakHxkE79KAORKvCFUA3op+J5rMRc6IkEPuyLjGZMU1umn1GiG+FH2T22K+reRXwbmBoqWhSUKWsCrjQXqRrXNmSqla6Kucn1S0cWNnFXSjaqMlwpJCPe4pjM4a+mH24n/xXOuVd650MnLA61dv1zoysv1KYlhBIgASsNqrRpSiWqjEsHFs4tbJL7pygppiy2s9BomaW70jurq+hYRuIPxtnKUdikx27JwQBUJgzma1jm+EFsHU4BB8Zgfujnjpdiuwue5DytID5tuzXktpQ0ESnQHo9gDt3F8zH6HR5kaAZzHvSltfx7sRe8cgFVsxGEF1p8CyFs8lkKmuwyRW9aX+Did9CFkPesT1h8ROxRWX6l/6DnXuP4pSIoRSVr/qTWv+1Wa7xm8/EA91Q/cx3xu9/R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THD+tKPXGmUdnBicApjHYXgIEJUVsaNvUj2Wfq/fATyZvdi+mUB4sJgpDzyAIKg67E285iaKoS1zhse2u18FcUJvnPUDU6FyBX+Mbjyd+2Cs4niSAtsSUq/t+tGfGv57uhYb8C38KRoWh9O0mm71+PDZ13PduM/Hz0ZqGMBxd2tbFx8n8UmIVyuiYs+aQMu+7w9WQjHxX8s/Ikg8y5v4lars9FSWc0ahrSgy2pSOkeC8b4Pjn0ztNp9uZkfGV+z3ttpTRawjNxoibjkbVPA+u2mufOgi4UCH/Xb74abTPcLBoYqs+Q/6HSKwZ51JyNJVFuQ5kRpnb235JX+U9ptD7znLhxYhmYx+Uqv728uI4PVKlPi7l62FgUQjwDbVoa/gxXT90plOHrqaTc4vf63gtZr9Cf58+U=
region: eu-west-1
bucket: static.fd.nl
skip_cleanup: true
acl: public_read
local_dir: dist
upload_dir: react/card
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/card/*"