-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Conversation
malukenho
commented
Jun 29, 2017
•
edited by Ocramius
Loading
edited by Ocramius
- Add badges to the README
fb7f4a5
to
f2c8e0b
Compare
There was a problem hiding this 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 🍺!
f2c8e0b
to
8748bb0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
filter: | ||
excluded_paths: | ||
- docs | ||
- tools |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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