From d729b59b394afe04f3fc163621d4cd1f7ae21ac6 Mon Sep 17 00:00:00 2001 From: sink Date: Fri, 21 Jun 2019 18:08:17 +0800 Subject: [PATCH] opt: code coverage by codecov. #27 --- .circleci/config.yml | 1 + .gitignore | 1 + README.md | 1 + phpunit.xml | 3 +++ 4 files changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c747a18..473d34f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,3 +36,4 @@ jobs: # a collection of steps command: | ./lint.sh ./phpunit.sh + bash <(curl -s https://codecov.io/bash) diff --git a/.gitignore b/.gitignore index d71d7e3..2f3eb81 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ /.vagrant Homestead.json Homestead.yaml +clover.xml npm-debug.log yarn-error.log .env diff --git a/README.md b/README.md index 4fa13f7..377e402 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![CircleCI](https://circleci.com/gh/wifidog/wifidog-auth-laravel.svg?style=svg)](https://circleci.com/gh/wifidog/wifidog-auth-laravel) [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/wifidog/wifidog-auth-laravel.svg)](https://hub.docker.com/r/wifidog/wifidog-auth-laravel) +[![codecov](https://codecov.io/gh/wifidog/wifidog-auth-laravel/branch/master/graph/badge.svg)](https://codecov.io/gh/wifidog/wifidog-auth-laravel) [![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/wifidog/wifidog-auth-laravel/blob/master/LICENSE) This project provides a auth server for wifidog. For API details, please see the [WiFiDog Protocol V1](http://dev.wifidog.org/wiki/doc/developer/WiFiDogProtocol_V1). diff --git a/phpunit.xml b/phpunit.xml index da4add3..a7812dd 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -22,6 +22,9 @@ ./app + + +