Commit 55033c6a authored by Avtandil Kikabidze's avatar Avtandil Kikabidze

Improvements in travis

parent 36787d67
dist: trusty dist: xenial
sudo: required sudo: required
language: php language: php
...@@ -41,7 +41,9 @@ before_script: ...@@ -41,7 +41,9 @@ before_script:
script: script:
- ./vendor/bin/phpcs --standard=phpcs.xml -snp --encoding=utf-8 src/ --report-width=150 - ./vendor/bin/phpcs --standard=phpcs.xml -snp --encoding=utf-8 src/ --report-width=150
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml - if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml;
else ./vendor/bin/phpunit;
fi
after_script: after_script:
- wget https://scrutinizer-ci.com/ocular.phar - wget https://scrutinizer-ci.com/ocular.phar
......
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