Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Scrutinizer; enable Codecov #320

Merged
merged 5 commits into from Feb 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 0 additions & 23 deletions .scrutinizer.yml

This file was deleted.

22 changes: 7 additions & 15 deletions .travis.yml
@@ -1,19 +1,17 @@
language: php
sudo: false
dist: trusty
os: linux

php:
- 7.1
- 7.2
- 7.3
- 7.4
- 7.3
- 7.2
- 7.1

cache:
directories:
- $HOME/.composer/cache/files

before_install:
- phpenv config-rm xdebug.ini || echo "Can't disable xDebug"
- |
if [ "$SYMFONY_VERSION" != "" ]; then
sed -ri '/symfony\/monolog-bundle/! s/"symfony\/(.+)": "(.+)"/"symfony\/\1": "'$SYMFONY_VERSION'"/' composer.json;
Expand All @@ -24,8 +22,9 @@ before_install:
install:
- travis_retry travis_wait composer update --no-interaction --prefer-dist --prefer-stable

script:
- vendor/bin/phpunit -v
script: >-
vendor/bin/phpunit -v --coverage-clover=build/coverage-report.xml
&& bash <(curl -s https://codecov.io/bash) -f build/coverage-report.xml

jobs:
include:
Expand All @@ -47,18 +46,11 @@ jobs:
- travis_retry travis_wait composer update --no-interaction --prefer-dist --prefer-stable --prefer-lowest
- stage: Code style and static analysis
name: PHPStan
php: 7.4
script:
- composer phpstan
- script:
- composer cs-check
name: PHP-CS-Fixer
- stage: coverage
script:
- phpdbg -qrr vendor/bin/phpunit --coverage-clover clover.xml
after_success:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover clover.xml --revision=$TRAVIS_COMMIT
allow_failures:
- name: sentry/sentry dev-develop
stage: Test
Expand Down
20 changes: 9 additions & 11 deletions README.md
Expand Up @@ -3,11 +3,12 @@
Symfony integration for [Sentry](https://getsentry.com/).

[![Stable release][Last stable image]][Packagist link]
[![Unstable release][Last unstable image]][Packagist link]
[![Total Downloads](https://poser.pugx.org/sentry/sentry/downloads)](https://packagist.org/packages/sentry/sentry)
[![Monthly Downloads](https://poser.pugx.org/sentry/sentry/d/monthly)](https://packagist.org/packages/sentry/sentry)
[![License](https://poser.pugx.org/sentry/sentry/license)](https://packagist.org/packages/sentry/sentry)

[![Build status][Master build image]][Master build link]
[![Scrutinizer][Master scrutinizer image]][Master scrutinizer link]
[![Coverage Status][Master coverage image]][Master scrutinizer link]
[![Build Status][Travis Master Build Status Image]][Travis Build Status] [![Coverage Status][Master Code Coverage Image]][Master Code Coverage]
[![Discord](https://img.shields.io/discord/621778831602221064)](https://discord.gg/cWnMQeA)

## Benefits

Expand Down Expand Up @@ -178,11 +179,8 @@ final class SentryCustomizationCompilerPass implements CompilerPassInterface
```

[Last stable image]: https://poser.pugx.org/sentry/sentry-symfony/version.svg
[Last unstable image]: https://poser.pugx.org/sentry/sentry-symfony/v/unstable.svg
[Master build image]: https://travis-ci.org/getsentry/sentry-symfony.svg?branch=master
[Master scrutinizer image]: https://scrutinizer-ci.com/g/getsentry/sentry-symfony/badges/quality-score.png?b=master
[Master coverage image]: https://scrutinizer-ci.com/g/getsentry/sentry-symfony/badges/coverage.png?b=master

[Packagist link]: https://packagist.org/packages/sentry/sentry-symfony
[Master build link]: https://travis-ci.org/getsentry/sentry-symfony
[Master scrutinizer link]: https://scrutinizer-ci.com/g/getsentry/sentry-symfony/?branch=master
[Travis Build Status]: http://travis-ci.org/getsentry/sentry-symfony
[Travis Master Build Status Image]: https://img.shields.io/travis/getsentry/sentry-symfony/master?logo=travis
[Master Code Coverage]: https://codecov.io/gh/getsentry/sentry-symfony/branch/master
[Master Code Coverage Image]: https://img.shields.io/codecov/c/github/getsentry/sentry-symfony/master?logo=codecov
1 change: 1 addition & 0 deletions codecov.yml
@@ -0,0 +1 @@
comment: false