Skip to content

Commit c7460b2

Browse files
authored
Merge pull request #8 from kpp/coverage
Add coveralls.io to TravisCI
2 parents 7ced474 + c368507 commit c7460b2

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.travis.yml

+32-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,35 @@ rust:
44
- nightly-2019-06-27
55

66
os:
7-
- linux
7+
- linux
8+
9+
script:
10+
- cargo test
11+
12+
matrix:
13+
include:
14+
- os: linux
15+
rust: nightly-2019-06-27
16+
sudo: required
17+
name: coverage
18+
addons: # needed for `cargo install cargo-travis`
19+
apt:
20+
packages:
21+
- libcurl4-openssl-dev
22+
- libelf-dev
23+
- libdw-dev
24+
- binutils-dev
25+
- cmake
26+
sources:
27+
- kalakris-cmake
28+
cache:
29+
directories:
30+
- /home/travis/.cargo
31+
- /home/travis/build/kpp/futures-async-combinators/target/kcov-master
32+
before_cache:
33+
- rm -rf /home/travis/.cargo/registry
34+
install:
35+
- cargo install cargo-update --debug || echo "cargo-update has been already installed"
36+
- cargo install-update -i cargo-travis
37+
script:
38+
- cargo coveralls

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# futures-async-combinators
22

33
[![Build Status](https://travis-ci.com/kpp/futures-async-combinators.svg?branch=master)](https://travis-ci.com/kpp/futures-async-combinators)
4+
[![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)
45

56
FOR LEARNING PURPOSES ONLY
67

0 commit comments

Comments
 (0)