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

Add Scrutinizer-CI to the build pipeline #2756

Merged
merged 2 commits into from
Jun 29, 2017

Conversation

malukenho
Copy link

@malukenho malukenho commented Jun 29, 2017

  • Add badges to the README

@malukenho malukenho force-pushed the feature/add-scrutnizer branch 2 times, most recently from fb7f4a5 to f2c8e0b Compare June 29, 2017 17:43
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra points for the 🍺!

@Ocramius Ocramius self-assigned this Jun 29, 2017
@Ocramius Ocramius added this to the 2.6 milestone Jun 29, 2017
@malukenho malukenho force-pushed the feature/add-scrutnizer branch from f2c8e0b to 8748bb0 Compare June 29, 2017 17:58
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Ocramius Ocramius merged commit 5034316 into doctrine:master Jun 29, 2017
filter:
excluded_paths:
- docs
- tools
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This folder doesn't exist here

@@ -112,6 +112,9 @@ matrix:
allow_failures:
- php: nightly

after_script:
- sh .travis.coverage.sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather keep the config here so we won't have to maintain multiple files (kind of what we have in the ORM)

@@ -0,0 +1,5 @@
set -x
if [ "$TRAVIS_PHP_VERSION" = '7.1' ] ; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will run the code for ALL PHP 7.1 builds, it would be better to have it only for specific platform as well.

set -x
if [ "$TRAVIS_PHP_VERSION" = '7.1' ] ; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover ./clover.xml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clover.xml will not be magically generated, we need to pass the flags to PHPUnit

@Ocramius Ocramius changed the title Add scrutinizer to the CI Add Scrutinizer-CI to the build pipeline Jul 22, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants