Debian Codegraph @

ci/deploy-coveralls.sh

raw
1 #!/bin/sh
2
3 set -xe
4
5 if [ "$TRAVIS_DIST" = "trusty" ]; then
6 echo "skip coveralls on trusty because coveralls errors out due to python issues"
7 exit 0
8 elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
9 pip3 install --user cpp-coveralls
10 PATH="${PATH}:$(python3 -c 'import site; print(site.USER_BASE)')/bin"
11 else
12 pip install --user cpp-coveralls
13 fi
14
15 export COVERALLS_PARALLEL=true
16 coveralls --build-root src --exclude src/optparse.c --exclude ci --exclude config.h --gcov-options '\-lp'