summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-03-15 10:57:04 +0000
committerAndres Rey <[email protected]>2018-03-15 11:06:47 +0000
commitfa6380ea991a34da4207d687b3ce219f7888025a (patch)
treeff64a1c8c319940e8697ee7357eb3184d5b23567
parent145afade592254fe3f45f3cee4c5d641e60964f3 (diff)
Add coveralls configuration files
-rw-r--r--.coveralls.yml3
-rw-r--r--.travis.yml6
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