-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
29 lines (29 loc) · 1.43 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
---
branches:
only:
- master
- develop
- /^feature/.*$/
language: node_js
node_js:
- stable
- "--lts"
env:
global:
- CC_TEST_REPORTER_ID=b129e5637c553a621241bf981f284e7d4a7226fc71b593aa62264b7ea52fd8a5
before_install:
- npm i -g npm
install: npm ci --no-optional
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
after_script:
- "[ $TRAVIS_NODE_VERSION = stable ] && c8 report --reporter=lcov --reporter=text && ./cc-test-reporter
after-build --debug -t lcov --exit-code $TRAVIS_TEST_RESULT || echo 'Coverage skipped'"
notifications:
slack:
secure: M43W+rxnMCBx1QuoaNx7ZCtANf/ut9tDfSvDVXeuJ36a2+Wo3dxiAMPMMBRTWCP3we03PhCSE2WlsnPsj94ru9rlxFF1apaaf9iZLjmgcJ5+sOOQMKmFrd0K7K2IiW2qhtp5/3XCGSirpUh1UNWIlRGDTSomwdxK97honhmYN7M9hNYsMMAlLpluAApli79CdP7lcoA/BMkNecVeHSnMSHuSSvdPCdGy6PP9TShS8ydZsxz0PUEa4q7Iy/vO1amGYEhWsglo+Wqmm20DsrkWLq+a86X6FlWHwtqJ697zbXxjBdbrQMS/9PfDf7VV2vrfMeiBGgHFQlTk/XTId8R8Dgol4twNvnn8hYMSUYX8qUZ0ozGctFvUwqVIVqMoS0bSfasY3cngAJBGso1jnwK5aZKlUYcrUYbl7oV7tzmvpO2sV068djIhs3R/gKMTeAp4xreg4owMURWOJJ9Ouoc8z6Y/B/58nOSeYfuy/IYldAcgOfOas/6O2Tya6/x3LM2yalAGcQevivNHSQp6RXE+6Nwfh7exnEzvNYFylVuW1zTZO71oWZpbfuoOg/Wy2WyPBLRK6rEgAwg9cvRA11WpLztGbYEvfAi/LPyYJ+e2zvnGnqYK7Ehm86JaNOOK/IVm2x60lb3CTXdu/+ujQqtBEI0tt8qzJ/CR3Gw8dXG/e+Q=
cache:
directories:
- "$HOME/.npm"