Skip to content

Remove Code Coverage #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 2 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,35 +43,12 @@ matrix:
- cargo fmt --all -- --check
- cargo clippy --all-targets --all-features -- -D warnings

- env: NAME='cargo-travis'
sudo: required
before_script:
- cargo install cargo-update || echo "cargo-update already installed"
- cargo install cargo-travis || echo "cargo-travis already installed"
- cargo install-update -a
script:
- |
cargo build &&
cargo coverage &&
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make &&
sudo make install && cd ../.. &&
kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo --exclude-path=./tests target/kcov target/debug/influxdb-*
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake

- rust: stable
env: NAME='readme-check'
before_script:
- bash auxiliary/update_cargo-readme.sh
- bash auxiliary/update_cargo-readme.sh
script:
- bash auxiliary/check_readme_consistency.sh
- bash auxiliary/check_readme_consistency.sh

script: |
export RUST_BACKTRACE=1 &&
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ repository = "https://github.com/Empty2k12/influxdb-rust"

[badges]
travis-ci = { repository = "Empty2k12/influxdb-rust", branch = "master" }
coveralls = { repository = "Empty2k12/influxdb-rust", branch = "master", service = "github" }

[dependencies]
reqwest = "0.9.17"
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
<a href="https://travis-ci.org/Empty2k12/influxdb-rust">
<img src="https://travis-ci.org/Empty2k12/influxdb-rust.svg?branch=master" alt='Build Status' />
</a>
<a href="https://coveralls.io/github/Empty2k12/influxdb-rust?branch=master">
<img src="https://coveralls.io/repos/github/Empty2k12/influxdb-rust/badge.svg?branch=master" alt='Coverage Status' />
</a>
<a href="https://docs.rs/crate/influxdb">
<img src="https://docs.rs/influxdb/badge.svg" alt='Documentation Status' />
</a>
Expand Down Expand Up @@ -100,5 +97,4 @@ in the repository.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)


@ 2019 Gero Gerke, All rights reserved.
4 changes: 0 additions & 4 deletions README.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
<a href="https://travis-ci.org/Empty2k12/influxdb-rust">
<img src="https://travis-ci.org/Empty2k12/influxdb-rust.svg?branch=master" alt='Build Status' />
</a>
<a href="https://coveralls.io/github/Empty2k12/influxdb-rust?branch=master">
<img src="https://coveralls.io/repos/github/Empty2k12/influxdb-rust/badge.svg?branch=master" alt='Coverage Status' />
</a>
<a href="https://docs.rs/crate/influxdb">
<img src="https://docs.rs/influxdb/badge.svg" alt='Documentation Status' />
</a>
Expand All @@ -28,5 +25,4 @@
</p>

{{readme}}

@ 2019 Gero Gerke, All rights reserved.