Skip to content

Commit

Permalink
Merge pull request #8 from kpp/coverage
Browse files Browse the repository at this point in the history
Add coveralls.io to TravisCI
  • Loading branch information
kpp committed Jul 1, 2019
2 parents 7ced474 + c368507 commit c7460b2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
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

0 comments on commit c7460b2

Please sign in to comment.