From 941a7eaf6910ea87ef621c05ac7148ff2cf433eb Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 8 Feb 2017 15:02:16 -0800 Subject: [PATCH] try codecov --- .travis.yml | 2 +- scripts/travis-common.sh | 17 +---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 814325dbe..8b29e33ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/scripts/travis-common.sh b/scripts/travis-common.sh index 288fcc1ce..d3ce79f10 100644 --- a/scripts/travis-common.sh +++ b/scripts/travis-common.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() {