diff options
-rw-r--r-- | .coveralls.yml | 3 | ||||
-rw-r--r-- | .travis.yml | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 0000000..18e6b20 --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1,3 @@ +coverage_clover: test/clover.xml +json_path: test/coveralls-upload.json +service_name: travis-ci
\ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 18105c7..e39184e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,10 @@ php: - "7.1" - "7.2" +script: + - ./vendor/bin/phpunit --coverage-clover ./test/clover.xml + +after_script: + - php ./vendor/php-coveralls/php-coveralls/bin/php-coveralls -v + sudo: false
\ No newline at end of file |