travis: install package cpp-coveralls without requiring sudo
This commit is contained in:
parent
59d98ab3f8
commit
7a126670bb
@ -18,7 +18,8 @@ script:
|
||||
- cmake --version
|
||||
- if [ "${TRAVIS_COVERALLS}" = "ON" ] && [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${CC}" = "gcc" ];
|
||||
then
|
||||
pip install cpp-coveralls;
|
||||
export PYTHONUSERBASE=`pwd`/pip
|
||||
pip install --user cpp-coveralls;
|
||||
else
|
||||
export TRAVIS_COVERALLS=OFF;
|
||||
fi
|
||||
@ -38,6 +39,6 @@ script:
|
||||
fi
|
||||
- make install
|
||||
- if [ "${TRAVIS_COVERALLS}" = "ON" ]; then
|
||||
coveralls --gcov-options '\-lp';
|
||||
$PYTHONUSERBASE/bin/coveralls --gcov-options '\-lp';
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user