Commit f6760603 authored by Avtandil Kikabidze's avatar Avtandil Kikabidze

Added scrutinizer dependencies

parent 5ddbb097
tools:
external_code_coverage:
timeout: 600
\ No newline at end of file
......@@ -40,5 +40,9 @@ before_script:
- mysql -u root -e 'create database telegrambot; use telegrambot; source structure.sql;'
script:
- ./vendor/bin/phpunit
- ./vendor/bin/phpcs --standard=phpcs.xml -snp --encoding=utf-8 src/ --report-width=150
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
......@@ -33,11 +33,12 @@
<directory>./tests/</directory>
</testsuite>
</testsuites>
<logging>
<!-- <log type="coverage-html" target="build/coverage" title="Package" charset="UTF-8" yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70" />
<log type="coverage-clover" target="build/logs/clover.xml" />
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false" />
--> <!--<log type="testdox-html" target="tests/testdox.html" logIncompleteSkipped="false" />-->
</logging>
<filter>
<whitelist>
<directory suffix=".php" processUncoveredFilesFromWhitelist="true">./src</directory>
<exclude>
<directory suffix=".php">./src/Exception</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment