-
Notifications
You must be signed in to change notification settings - Fork 0
/
.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=6371e1e8d0848bd75f3aaafe3abce9914c7d3a9846e729a8226db29acd18d241
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: auKti+W8lacyOBpqqGx7vzqq/NZ6avY/emFGA8jE8Lu4gaRwh8y/O6eCc3L1S458/xj7s0NSrK4rrLVdypkJQBOFHs4cdazZnDs3PIF9puFTMsF9G/EbJEnfl/eTwoB0zmGQc9fOsTlFT1RiuHKl9SgEo0IqLpDdQIMaCAjnbjgRUSED23pZsHeksC9DjLVs78ZADUQbzKanLM5K8BLQFFcxnztZOjg4acMzZOG6600AnTR0sO5nYxYoBi6vSINdbo8UQPJVKEbjBjHV/LqnOJmjNHuolGcVfZb4e9MCpEOrILUh5rRWY3kwwlIansEmH3Hxv5m1NUrnpwhxU7Qdrr/hWQtxsVUe4C9ZHBts4GDD+shsdnY5LZkmu/2iGrgnoGR5tDlgrX7aOqw0yzadpKjkOspfqub7hMwoZ6G45Z3DsWfnECSoyUHmoQgdwwIcSQHUCHDrcXfUAgeNuB0IVAWx8wGFZKYIbLSxUABgAj+L2YnlLDi30OJBR3HReRMR+tmJhFLy5EuWCwgRXotinp71ckk2Cq5rLbSG+luheOO9v29Uh0Hkn8J113YXp7jU8wQk2kIe6w8M1LNe45SdsxLRKorwcJDkxBVw0A/DW8woMV9O8JNXEgLGYBKB64UOtC+VCntL2W7vR4F6Fp8TCYoCtq7+VwYaT9teF/CX5Pg=
cache:
directories:
- "$HOME/.npm"