Skip to content

Add coveralls.io to TravisCI #8

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 2 commits into from
Jul 1, 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
33 changes: 32 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,35 @@ rust:
- nightly-2019-06-27

os:
- linux
- linux

script:
- cargo test

matrix:
include:
- os: linux
rust: nightly-2019-06-27
sudo: required
name: coverage
addons: # needed for `cargo install cargo-travis`
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
sources:
- kalakris-cmake
cache:
directories:
- /home/travis/.cargo
- /home/travis/build/kpp/futures-async-combinators/target/kcov-master
before_cache:
- rm -rf /home/travis/.cargo/registry
install:
- cargo install cargo-update --debug || echo "cargo-update has been already installed"
- cargo install-update -i cargo-travis
script:
- cargo coveralls
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# futures-async-combinators

[![Build Status](https://travis-ci.com/kpp/futures-async-combinators.svg?branch=master)](https://travis-ci.com/kpp/futures-async-combinators)
[![Coverage Status](https://coveralls.io/repos/github/kpp/futures-async-combinators/badge.svg?branch=master)](https://coveralls.io/github/kpp/futures-async-combinators?branch=master)

FOR LEARNING PURPOSES ONLY

Expand Down