File: post-coverage.sh

package info (click to toggle)
dygraphs 2.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,340 kB
  • sloc: javascript: 24,842; sh: 800; python: 581; makefile: 45
file content (12 lines) | stat: -rwxr-xr-x 324 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/mksh

# uncomment this to skip posting to coveralls.io
# comment the line out to post
#exit 0

if test -n "$CI"; then
  <coverage/lcov.info ./node_modules/.bin/coveralls || \
    echo "N: above errors posting to coveralls.io are ignored"
fi

true  # reset exit code -- failure to post coverage shouldn't be an error.