You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
492 B
Bash
17 lines
492 B
Bash
#!/bin/sh
|
|
|
|
set -xe
|
|
|
|
if [ "$TRAVIS_DIST" = "trusty" ]; then
|
|
echo "skip coveralls on trusty because coveralls errors out due to python issues"
|
|
exit 0
|
|
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
|
pip3 install --user cpp-coveralls
|
|
PATH="${PATH}:$(python3 -c 'import site; print(site.USER_BASE)')/bin"
|
|
else
|
|
pip install --user cpp-coveralls
|
|
fi
|
|
|
|
export COVERALLS_PARALLEL=true
|
|
coveralls --build-root src --exclude src/optparse.c --exclude ci --exclude config.h --gcov-options '\-lp'
|