diff --git a/.gitignore b/.gitignore
index 4b1d444c..9bdc3348 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,5 +5,5 @@ script/*
# Test coverage
/phpunit.xml
-/test/coverage
+/build
/test/reports
diff --git a/.travis.yml b/.travis.yml
index 62c8d418..0d179e41 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,9 @@ php:
before_script:
- composer install --dev --optimize-autoloader
- cp -v phpunit.dist.xml phpunit.xml
+- mkdir -p build/logs
+after_script:
+- php vendor/bin/coveralls -v
env:
global:
- secure: BI/lllRhvsCrTAV5VU0QRbnZ8gURoILBlHBn+UTMsRiz8pXk9f21xMgzKxqh8HhQr+Bt7JYWoYYcerRyReH9N9vTGMN4+OUbSTTGaiumwd6vQTdYDKgqTHfBqOY2SkrUuiRsRcT50AXur9O857+Jrn19REtrOR9nGR9hKaS/aFc=
diff --git a/README.md b/README.md
index d69df1f4..56571325 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,7 @@ To find out more, visit the official documentation website:
http://developer.bigcommerce.com/
[](https://travis-ci.org/bigcommerce/bigcommerce-api-php)
+[](https://coveralls.io/r/bigcommerce/bigcommerce-api-php?branch=master)
Requirements
------------
diff --git a/composer.json b/composer.json
index 4f0aa1a1..0c354f55 100644
--- a/composer.json
+++ b/composer.json
@@ -16,6 +16,7 @@
},
"require-dev": {
"phpunit/phpunit": "3.7",
+ "satooshi/php-coveralls": "dev-master",
"codeless/jugglecode": "1.0"
},
"autoload": {
@@ -26,4 +27,4 @@
"archive": {
"exclude": ["bin", "bigcommerce.php"]
}
-}
\ No newline at end of file
+}
diff --git a/phpunit.dist.xml b/phpunit.dist.xml
index 251a0ee5..ad615653 100644
--- a/phpunit.dist.xml
+++ b/phpunit.dist.xml
@@ -13,8 +13,9 @@
strict="false"
verbose="false">
-
-
+
+
+