Skip to content

Commit f110bcf

Browse files
committed
Replace Travis / Scrutinizer with Codecov
1 parent ede08a6 commit f110bcf

File tree

5 files changed

+7
-66
lines changed

5 files changed

+7
-66
lines changed

.circleci/config.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: 2.1
22

3+
orbs:
4+
codecov: codecov/codecov@4.1.0
5+
36
jobs:
47
build:
58
working_directory: ~/testmonitor/slack-client
@@ -68,8 +71,9 @@ jobs:
6871
name: Run Unit Tests
6972
command: |
7073
mkdir -p ./logs/phpunit
71-
vendor/bin/phpunit -d memory_limit=1G --log-junit logs/phpunit/junit.xml --testdox-html logs/phpunit/testdox.html
72-
74+
vendor/bin/phpunit -d memory_limit=1G --coverage-clover coverage.xml --log-junit logs/phpunit/junit.xml --testdox-html logs/phpunit/testdox.html
75+
- codecov/upload:
76+
file: coverage.xml
7377
- store_artifacts:
7478
path: ./logs/phpunit
7579
destination: phpunit

.scrutinizer.yml

-31
This file was deleted.

.travis.yml

-29
This file was deleted.

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
[![Latest Stable Version](https://poser.pugx.org/testmonitor/slack-client/v/stable)](https://packagist.org/packages/testmonitor/slack-client)
44
[![CircleCI](https://img.shields.io/circleci/project/github/testmonitor/slack-client.svg)](https://circleci.com/gh/testmonitor/slack-client)
5-
[![Travis Build](https://travis-ci.com/testmonitor/slack-client.svg?branch=main)](https://app.travis-ci.com/github/slack-client)
6-
[![Code Coverage](https://scrutinizer-ci.com/g/testmonitor/slack-client/badges/coverage.png?b=main)](https://scrutinizer-ci.com/g/testmonitor/slack-client/?branch=main)
7-
[![Code Quality](https://scrutinizer-ci.com/g/testmonitor/slack-client/badges/quality-score.png?b=main)](https://scrutinizer-ci.com/g/testmonitor/slack-client/?branch=main)
85
[![StyleCI](https://styleci.io/repos/401647581/shield)](https://styleci.io/repos/401647581)
6+
[![codecov](https://codecov.io/gh/testmonitor/slack-client/graph/badge.svg?token=6Z5QIYSQ6R)](https://codecov.io/gh/testmonitor/slack-client)
97
[![License](https://poser.pugx.org/testmonitor/slack-client/license)](https://packagist.org/packages/testmonitor/slack-client)
108

119
This package provides a very basic, convenient, and unified wrapper for sending posts to Slack.

composer.json

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"friendsofphp/php-cs-fixer": "^3.0",
4141
"mockery/mockery": "^1.4",
4242
"phpunit/phpunit": "^10.0",
43-
"scrutinizer/ocular": "^1.9",
4443
"squizlabs/php_codesniffer": "^3.7"
4544
},
4645
"config": {

0 commit comments

Comments
 (0)