From 155dc41e70fdf4439eba0ec63bcde9f4f015f8cb Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Wed, 5 Dec 2018 11:35:30 -0800 Subject: [PATCH] chore(CI): remove coveralls --- .travis.yml | 30 ------------------------------ README.md | 1 - 2 files changed, 31 deletions(-) diff --git a/.travis.yml b/.travis.yml index e210dc72..eb5b8d45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,9 +16,6 @@ matrix: - rust: 1.26.0 env: FEATURES="--no-default-features --features runtime" BUILD_ONLY="1" -cache: - apt: true - before_script: # Add an IPv6 config - see the corresponding Travis issue # https://github.com/travis-ci/travis-ci/issues/8361 @@ -27,37 +24,10 @@ before_script: fi script: - - ./.travis/readme.py - cargo build $FEATURES - 'if [ "$BUILD_ONLY" != "1" ]; then cargo test $FEATURES -- --test-threads=1; fi' - 'if [ $TRAVIS_RUST_VERSION = nightly ]; then for f in ./benches/*.rs; do cargo test --bench $(basename $f .rs) $FEATURES; done; fi' -addons: - apt: - packages: - - libcurl4-openssl-dev - - libelf-dev - - libdw-dev - - binutils-dev - - libiberty-dev - - -after_success: - - '[ "TRAVIS_RUST_VERSION" = "stable" ] && - LOCAL="~/.local" && export PATH=$LOCAL/bin:$PATH && - wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && - tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && - cmake -DCMAKE_INSTALL_PREFIX:PATH=$LOCAL .. && make && make install && cd ../.. && - ls target/debug && - RUSTFLAGS="-C link-dead-code" cargo test --no-run && - for file in target/debug/*; do - if [[ -x $file ]]; then - mkdir -p "target/cov/$(basename $file)"; - kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; - fi; - done && - kcov --coveralls-id=$TRAVIS_JOB_ID --merge target/cov target/cov/*' - env: global: - RUST_BACKTRACE=1 diff --git a/README.md b/README.md index 8783c59e..1f996fed 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # [hyper](https://hyper.rs) [![Travis Build Status](https://travis-ci.org/hyperium/hyper.svg?branch=master)](https://travis-ci.org/hyperium/hyper) -[![Coverage Status](https://coveralls.io/repos/hyperium/hyper/badge.svg?branch=master)](https://coveralls.io/r/hyperium/hyper?branch=master) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![crates.io](https://meritbadge.herokuapp.com/hyper)](https://crates.io/crates/hyper) [![Released API docs](https://docs.rs/hyper/badge.svg)](https://docs.rs/hyper)