This eliminates the need for pip/python
script: _travis/test
after_success:
- ccache -s
- - pip install --user codecov
- >
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then
- ~/Library/Python/*/bin/codecov ;
- elif [[ "$CXX" == "clang++" ]] ; then
- ~/.local/bin/codecov --gcov-exec llvm-cov ;
+ if [[ "$CXX" == "clang++" && "$TRAVIS_OS_NAME" != "osx" ]] ; then
+ bash <(curl -s https://codecov.io/bash) -x llvm-cov
else
- ~/.local/bin/codecov ;
+ bash <(curl -s https://codecov.io/bash)
fi