Skip to content

Commit

Permalink
Use scrutnizer on the CI process
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefersson Nathan committed Jun 29, 2017
1 parent 8a56bce commit fb7f4a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
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
fi
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ matrix:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.6

after_script:
- sh .travis.coverage.sh

matrix:
allow_failures:
- php: nightly

Expand Down

0 comments on commit fb7f4a5

Please sign in to comment.