From 5c1d10c671dcc9e520d842262d40cf09d1a21fce Mon Sep 17 00:00:00 2001 From: Chylli Date: Thu, 10 Nov 2016 16:28:28 +0800 Subject: [PATCH 1/2] codecov --- .travis.yml | 5 +++-- README.md | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4b7e306..2fb1606 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,8 @@ before_install: - source ~/travis-perl-helpers/init - build-perl - perl -V - - cpanm -n Devel::Cover::Report::Coveralls + - cpanm -qn Test::Requires::Git + - cpanm -qn Devel::Cover::Report::Codecov - cpanm --installdeps -n . script: - perl Makefile.PL && make test && cover -test -report coveralls + perl Makefile.PL && make test && cover -test -report codecov diff --git a/README.md b/README.md index 61b8540..effaedc 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,8 @@ Math::Function::Interpolator helps you to do the interpolation calculation with 1. Quadratic method (needs more than 2 data points) 1. Cubic method, it's a Cubic Spline method (needs more than 4 data points) - +[![codecov](https://codecov.io/gh/binary-com/perl-Math-Function-Interpolator/branch/master/graph/badge.svg)](https://codecov.io/gh/binary-com/perl-Math-Function-Interpolator) [![Build Status](https://travis-ci.org/binary-com/perl-Math-Function-Interpolator.svg?branch=master)](https://travis-ci.org/binary-com/perl-Math-Function-Interpolator) -[![Coverage Status](https://coveralls.io/repos/binary-com/perl-Math-Function-Interpolator/badge.png?branch=master)](https://coveralls.io/r/binary-com/perl-Math-Function-Interpolator?branch=master) [![Gitter chat](https://badges.gitter.im/binary-com/perl-Math-Function-Interpolator.png)](https://gitter.im/binary-com/perl-Math-Function-Interpolator) SYNOPSIS From e76a9b56da0da987d2f341802b8dbf7878d96ade Mon Sep 17 00:00:00 2001 From: Chylli Date: Thu, 10 Nov 2016 16:45:07 +0800 Subject: [PATCH 2/2] move up --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index effaedc..0050c2e 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,15 @@ **Math-Function-Interpolator** +[![codecov](https://codecov.io/gh/binary-com/perl-Math-Function-Interpolator/branch/master/graph/badge.svg)](https://codecov.io/gh/binary-com/perl-Math-Function-Interpolator) +[![Build Status](https://travis-ci.org/binary-com/perl-Math-Function-Interpolator.svg?branch=master)](https://travis-ci.org/binary-com/perl-Math-Function-Interpolator) +[![Gitter chat](https://badges.gitter.im/binary-com/perl-Math-Function-Interpolator.png)](https://gitter.im/binary-com/perl-Math-Function-Interpolator) + Math::Function::Interpolator helps you to do the interpolation calculation with linear, quadratic and cubic methods. 1. Linear method (needs more than 1 data point) 1. Quadratic method (needs more than 2 data points) 1. Cubic method, it's a Cubic Spline method (needs more than 4 data points) -[![codecov](https://codecov.io/gh/binary-com/perl-Math-Function-Interpolator/branch/master/graph/badge.svg)](https://codecov.io/gh/binary-com/perl-Math-Function-Interpolator) -[![Build Status](https://travis-ci.org/binary-com/perl-Math-Function-Interpolator.svg?branch=master)](https://travis-ci.org/binary-com/perl-Math-Function-Interpolator) -[![Gitter chat](https://badges.gitter.im/binary-com/perl-Math-Function-Interpolator.png)](https://gitter.im/binary-com/perl-Math-Function-Interpolator) SYNOPSIS