This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
50 lines (42 loc) · 1.75 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
# https://github.com/andreashuber69/net-worth#--
# cSpell: disable
os: linux
dist: xenial
language: node_js
node_js:
- 14
addons:
chrome: stable
branches:
only:
- develop
- /^release\/.*/
- master
before_install:
- git config --global url."https://github.com/".insteadOf ssh://[email protected]/
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- npm run ci
after_script:
- ./cc-test-reporter format-coverage --input-type lcov ./coverage/lcov.lcov
- ./cc-test-reporter upload-coverage --id $CODECLIMATE_TEST_REPORTER_ID
- export CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage
- export CODECLIMATE_REPO_TOKEN=22156771-8448-4d00-9b5d-5a7ec885c7f2
- npx codeclimate-test-reporter < coverage/lcov.lcov
deploy:
strategy: git
provider: pages
skip_cleanup: true
local_dir: dist
keep_history: true
token: $GITHUB_TOKEN
verbose: true
on:
branch: master
notifications:
email:
recipients:
- secure: otpxNbTyd4lUNDR06PjV9mSpyUJ0WfxNC4lQjj2gaE8hho8Zzv8rroHTllHC8NW3+e3nrvHkFQcobUupKHJb8Tp/Ihg0ki3PpHB7SDcRw/6Wtcs78ePP777ykF3E2OL1XJAw9pBKUpDc9MqLqjYt/Q6ACnrk67/9iOqoWwYh0UNBVJWvI6lVIOHJLiS+BW6uTxSJlUq/G5qNdp/cISmjoN6Kqbq/m5TTeYeP1qUmF0JshtmCbS4PR4Uhg/XzmlhVPAstH++geuEk/HgVESiViKKbTs0tHZzyXVU943RMmmH3C4t5OHSwxRJRNBQswoKHQMyBy+qqs1p3ftmq7TfBtHizHyCVS6A6FMGdyBGFwqFRk6pb1Ia7mp/1HVTYc7PUarc8UqfzYmqAoPj9i4MBtYnxpwaN63NiZZUruBemMaz7DpYT0n1TgZjcrdF1vckD4gOABC1eGhsC8cukn4QbunEVBfEYrLMBwp3fRkHmCjb7LRwDJF25w9oxZwlClJmHgZ2YAOE9F9LmFcnK0SZIEMvEBB92Ky1WjEv8nxG8iWkWBmDkU5lGEBnEvNqdQS6tzWO0JfiZL0xFoFwP0g8xPU+9w0rCTYeKOjgvY/NopXkjQV5uXszWOYq5r9+RfKtd1P6h+FR86qv7jo1GUByDq4h+RFvpiGHfEZvt58ScZsk=