UNPKG

516 BYAMLView Raw
1sudo: false
2
3env:
4 global:
5 - CC_TEST_REPORTER_ID=ce3c363ffb0df9ed6d0d766c56d5f4a03b146a0ca3e348c5a8efc1c496934eed
6
7language: node_js
8services: mongodb
9
10branches:
11 only:
12 - master
13
14node_js:
15 - 8
16 - 6
17
18before_script:
19 - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
20 - chmod +x ./cc-test-reporter
21 - ./cc-test-reporter before-build
22
23script: npm run coverage
24
25after_script:
26 - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT