-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.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=a3f0725f6c3a7ef8bc462fc667e3fbf906095415a17e8ef4b56df5227046705e
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: ocWBTVjPl49eqN7Xmag957dZtwgsYTFeyZdwJSyCMuvhKXkcArR4TwBETcO93jWUtGrLXwMkFVpgeHGWxxWMAHN48FrRukLPF06xBN0yara25jwdoED1WrPwM5FWzfUAM4rQqoOWr46FyNl3TaUfk1JN5iuZ2DiI1H54aLFfWFjUaWr6QQp47bGKGKclVpqsOi3aQ28FGuKCYWf7cQBoX8+ZwiNvAarLMBKwsGfmx1QcxETV30JMPv//kCrMRsZZJnEvH4P82oPGgDNwKAMVC8w7V9jjGgp4PJgBdrVopffu+pjoAAOHhE0oaHnjmt4r5DptDxm2fPJlkp8YXvBEEgfGjv5rNoxko1h32bQwO4DLMBzSddeAbMbrzZ9U2mNhoiHB/LT4sCAdnXhSUYfV128k2JQ5rnRSv15iwGCY0nqCeiwA3e4QUGysDVvzvNrivbvBwKVzGr+fSL4V/OMp0CuGYHDhQ1l6A7yEYEbVTWpzgHJeEJQ8qS0rtUajLRLjk67BYhJ/90xCMi2hiUvMXDpm/OouuezbW6mxB3YH8YS/UFhCBfDvVZL/gDrFoalVXkw+r4oc58l4o4hBusuPmFyiGOHdv/s+gtrrVttc3bMvRnJS6Wwr3jLsnYjJkdvB5bH+kr8Mg8L9pIgV4eV7RA0qcvwDdQtqz1rpmXAQEh8=
cache:
directories:
- "$HOME/.npm"