integrating Codecov

This commit is contained in:
CismonX 2020-03-25 03:41:03 +08:00
parent 804b06aaee
commit b82eed35d6
2 changed files with 6 additions and 1 deletions

View File

@ -31,5 +31,9 @@ before_script:
script:
- phpize
- ./configure --enable-arma-operators --enable-arma-pch
- make -j$(nproc)
- make -j$(nproc) EXTRA_CXXFLAGS='--coverage' EXTRA_LDFLAGS='-fprofile-arcs'
- make test
- gcov --object-directory=src/.libs src/*.cc
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@ -1,6 +1,7 @@
# php-armadillo
[![Travis-CI](https://travis-ci.com/CismonX/php-armadillo.svg?branch=master)](https://travis-ci.com/CismonX/php-armadillo)
[![Codecov](https://codecov.io/gh/CismonX/php-armadillo/branch/master/graphs/badge.svg)](https://codecov.io/gh/CismonX/php-armadillo)
[![MIT license](https://img.shields.io/badge/licence-MIT-blue.svg)](https://opensource.org/licenses/MIT)
PHP bindings for [Armadillo](http://arma.sourceforge.net/).