diff --git a/.travis.yml b/.travis.yml index c44d170..f27b0b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,6 +52,13 @@ matrix: - os: linux compiler: clang env: CLANG_VERSION='3.8.0' BUILDTYPE=Debug CC="clang-3.8" CXX="clang++-3.8" CXXFLAGS="--coverage" CFLAGS="--coverage" LDFLAGS="--coverage" + after_script: + - mason install llvm-cov 3.9.1 + - mason link llvm-cov 3.9.1 + - which llvm-cov + - curl -S -f https://codecov.io/bash -o codecov + - chmod +x codecov + - ./codecov -x "llvm-cov gcov" -Z addons: apt: sources: ['ubuntu-toolchain-r-test' ] @@ -101,8 +108,3 @@ script: BUILDTYPE=${BUILDTYPE} make fewer-tests; else BUILDTYPE=${BUILDTYPE} make test geobuf-test; fi - - if [ -n "${COVERAGE}" ]; then - /usr/bin/llvm-cov-3.5 -lp *.o; - pip install --user cpp-coveralls; - ~/.local/bin/coveralls --no-gcov -i ./ --exclude clipper; - fi diff --git a/README.md b/README.md index e3a002d..bf80071 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Builds [vector tilesets](https://www.mapbox.com/developers/vector-tiles/) from l ![Mapbox Tippecanoe](https://user-images.githubusercontent.com/1951835/36568734-ede27ec0-17df-11e8-8c22-ffaaebb8daf4.JPG) [![Build Status](https://travis-ci.org/mapbox/tippecanoe.svg)](https://travis-ci.org/mapbox/tippecanoe) -[![Coverage Status](https://coveralls.io/repos/mapbox/tippecanoe/badge.svg?branch=master&service=github)](https://coveralls.io/github/mapbox/tippecanoe?branch=master) +[![Coverage Status](https://codecov.io/gh/mapbox/tippecanoe/branch/master/graph/badge.svg)](https://codecov.io/gh/mapbox/tippecanoe) Intent ------ diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..b52d0c4 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +ignore: + - "test"