diff options
author | Arnold Daniels <arnold@jasny.net> | 2016-10-10 23:26:50 +0200 |
---|---|---|
committer | minstel <minstel@yandex.ru> | 2016-10-17 22:07:44 +0300 |
commit | 46daa66a1d602463a979af3c0f1970cb7914628c (patch) | |
tree | beea98457b5e4343210f015537d43ebeff382ec0 | |
parent | 7d4be81777f3a9afcbc366e528bf2284265c16b6 (diff) | |
download | router-46daa66a1d602463a979af3c0f1970cb7914628c.zip router-46daa66a1d602463a979af3c0f1970cb7914628c.tar.gz router-46daa66a1d602463a979af3c0f1970cb7914628c.tar.bz2 |
Added travis config and added badges to README
-rw-r--r-- | .travis.yml | 20 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6f0320f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: php + +php: + - 5.6 + - 7.0 + +branches: + only: + - master + +install: + - composer install + - wget https://scrutinizer-ci.com/ocular.phar -O "$HOME/ocular.phar" + +script: + - vendor/bin/phpunit --coverage-clover cache/logs/clover.xml + +after_success: + - php "$HOME/ocular.phar" code-coverage:upload --format=php-clover cache/logs/clover.xml + @@ -2,6 +2,8 @@ Jasny Router ============ [](http://travis-ci.org/jasny/router) +[](https://scrutinizer-ci.com/g/jasny/router/?branch=master) +[](https://scrutinizer-ci.com/g/jasny/router/?branch=master) Installation |