Generate coverage report in travis build and upload to codecov (#110)
* upload codecov coverage report in travis build * add coverage badge to readme
This commit is contained in:
parent
625bac1b62
commit
3c27b219bd
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
language: rust
|
||||
cache: cargo
|
||||
sudo: true
|
||||
|
||||
rust:
|
||||
- stable
|
||||
|
@ -13,10 +14,12 @@ rust:
|
|||
env:
|
||||
global:
|
||||
- secure: "SsepHEYRmW9ee3RhxPpqGuPigZINFfA/yOwUJFseQt4t+Zs90r1xdl3Q8eDfPlnvBsL7Rd0QQrFDO7JUaimVLlgQkUnrl62o0CYzkodp+qtocyAHS00W6WTqi8Y6E6KBxPshCl03dRLaySUfx5TqTLTIHkJ0G6vDW35k7hRrA3221lRphs5rrpvAZ21pqsDsNLH3HVo792L6A0kOtBa3ocw1pgHLxnBbArIViu2htUuFvY/TgsmVbAdlow0efw/xkcJ/p0/r5q7igLek6Iqk8udfRc7CktvoiFQ2vUnhtNtQu/zYll3Q7OUx5d+w5lhbzz2QINmsezBEisH9k1haL7dMviLPp0pn4WZed60KovO0Iqfgjy1utTaKvJVfNWYsgkfU8c9a/z2rcZOKwXNKQW2ptBrtVjaB9dk7eMoyuFCDZwNtKqvG+ZKmvMpun+R8mmx+buOmN8Vlf5ygIoGxz3nbEtlLYGVTXHfdXXqRkFIwtiYVJEO7SLRKT9pbx1E++ARsi2+y8bXJT4e4z0osYMq9EsiFUpw3J2gcshrgseqkB7UgCZ3SXuitJnJNfDAU3a3nwwS/JiAunZMNnC4rKUBbl7WbTB4Cpw7EgVOlCqcyyzlkNl3xabLzTFzLOfSHLTVX5FmGNsD21vBoS5/8ejftx9wuV3rGHxuO3i3+A3k="
|
||||
- RUSTFLAGS="-C link-dead-code"
|
||||
- CARGO_MAKE_RUN_CODECOV=true
|
||||
|
||||
script:
|
||||
- cargo install -f --debug cargo-make
|
||||
- cargo make ci-flow
|
||||
- cargo make workspace-ci-flow --no-workspace
|
||||
|
||||
before_deploy:
|
||||
- rm -rf target/package/
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
[![Build Status](https://travis-ci.org/graphql-rust/juniper.svg?branch=master)](https://travis-ci.org/graphql-rust/juniper)
|
||||
[![Build status](https://ci.appveyor.com/api/projects/status/vsrwmsh9wobxugbs?svg=true)](https://ci.appveyor.com/project/theduke/juniper/branch/master)
|
||||
[![codecov](https://codecov.io/gh/graphql-rust/juniper/branch/master/graph/badge.svg)](https://codecov.io/gh/graphql-rust/juniper)
|
||||
[![Crates.io](https://img.shields.io/crates/v/juniper.svg?maxAge=2592000)](https://crates.io/crates/juniper)
|
||||
[![Gitter chat](https://badges.gitter.im/juniper-graphql/gitter.png)](https://gitter.im/juniper-graphql)
|
||||
|
||||
|
|
Loading…
Reference in a new issue