try codecov
This commit is contained in:
parent
7affd674fd
commit
941a7eaf69
2 changed files with 2 additions and 17 deletions
|
@ -80,7 +80,7 @@ install:
|
|||
- on 'osx' createuser -s postgres
|
||||
- psql -c 'create database template_postgis;' -U postgres
|
||||
- psql -c 'create extension postgis;' -d template_postgis -U postgres
|
||||
- enabled ${COVERAGE} pip install --user cpp-coveralls
|
||||
- enabled ${COVERAGE} curl -S -f https://codecov.io/bash -o codecov && chmod +x codecov
|
||||
|
||||
before_script:
|
||||
- source bootstrap.sh
|
||||
|
|
|
@ -46,15 +46,6 @@ git_submodule_update () {
|
|||
git submodule update "$@"
|
||||
}
|
||||
|
||||
# install and call pip
|
||||
pip () {
|
||||
if ! which pip >/dev/null; then
|
||||
easy_install --user pip && \
|
||||
export PATH="$HOME/Library/Python/2.7/bin:$PATH"
|
||||
fi
|
||||
command pip "$@"
|
||||
}
|
||||
|
||||
# commit_message_contains TEXT
|
||||
# - returns 0 (true) if TEXT is found in commit message
|
||||
# - case-insensitive, plain-text search, not regex
|
||||
|
@ -92,13 +83,7 @@ configure () {
|
|||
}
|
||||
|
||||
coverage () {
|
||||
./mason_packages/.link/bin/cpp-coveralls \
|
||||
--gcov ${LLVM_COV} \
|
||||
--exclude mason_packages \
|
||||
--exclude .sconf_temp --exclude benchmark --exclude deps \
|
||||
--exclude scons --exclude test --exclude demo --exclude docs \
|
||||
--exclude fonts \
|
||||
> /dev/null
|
||||
./codecov -x "llvm-cov gcov" -Z
|
||||
}
|
||||
|
||||
trigger_downstream() {
|
||||
|
|
Loading…
Reference in a new issue