commit 0ff6e9e60c527039d51aa39e2b6ac00568bb859a
parent c2cbd1fcef3929574767509773ee26cd3b1c60ea
Author: dromer <1185977+dromer@users.noreply.github.com>
Date: Sun, 23 Feb 2020 17:50:29 +0100
try codecov (#1095)
* try codecov
* add badge to README.md
Diffstat:
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -6,9 +6,6 @@ php:
- 7.0
- nightly
-script:
- - vendor/bin/phpunit -c app/ --coverage-clover build/logs/clover.xml
-
env:
- SYMFONY__TESTDB=mysql DB=mysql
- SYMFONY__TESTDB=pgsql DB=pgsql
@@ -26,10 +23,6 @@ matrix:
- php: nightly
- php: hhvm
-addons:
- code_climate:
- repo_token: 9bf99f3d5903f9f2ae2280f49cc469ef219bb965205cd324847f22d4698257d9
-
before_script:
- cp app/config/parameters.php.dist app/config/parameters.php
- if [[ "$SYMFONY__TESTDB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS partkeepr_test;" -U postgres; fi
@@ -41,5 +34,8 @@ before_script:
- app/console cache:warmup --env=test
- app/console doctrine:schema:create --env=test
+script:
+ - vendor/bin/phpunit -c app/ --coverage-clover build/logs/clover.xml
+
after_script:
- - vendor/bin/test-reporter
+ - bash <(curl -s https://codecov.io/bash)
diff --git a/README.md b/README.md
@@ -6,6 +6,8 @@
[![Code Climate](https://codeclimate.com/github/partkeepr/PartKeepr/badges/gpa.svg)](https://codeclimate.com/github/partkeepr/PartKeepr)
[![Test Coverage](https://codeclimate.com/github/partkeepr/PartKeepr/badges/coverage.svg)](https://codeclimate.com/github/partkeepr/PartKeepr/coverage)
[![Dependency Status](https://www.versioneye.com/user/projects/564e098f3d4c250039000001/badge.svg?style=flat)](https://www.versioneye.com/user/projects/564e098f3d4c250039000001)
+[![codecov](https://codecov.io/gh/partkeepr/PartKeepr/branch/master/graph/badge.svg)](https://codecov.io/gh/partkeepr/PartKeepr)
+
PartKeepr is an [inventory management software](https://en.wikipedia.org/wiki/Inventory_management_software), primarily
designed for electronic components.