diff --git a/.travis.yml b/.travis.yml
index c60fadb4f725ceefb30c57e3dacfb74a4789c5a3..e8e036c987a91aed23bf157e20e822fab5067e49 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,4 +18,8 @@ python:
   - "nightly" # currently points to 3.7-dev
 install: "pip install -r requirements.txt"
 
-script: python ./test.py
\ No newline at end of file
+script: python ./test.py
+
+after_sucess:
+  - pip install codeclimate-test-reporter coverage
+  - CODECLIMATE_REPO_TOKEN=8582900c285e4da0f253555b1bac1ba501bd6ff07850b0f227166b3cdac59ecc codeclimate-test-reporter
\ No newline at end of file
diff --git a/test.py b/test.py
index 05aa018cda1d15872e527cf218e670ff43259a87..e5a6d6cabd5a1627b37243faffc77ddcbeeea397 100644
--- a/test.py
+++ b/test.py
@@ -1,5 +1,6 @@
-import unittest
-loader = unittest.TestLoader()
-tests = loader.discover('tests', pattern='test_*.py', top_level_dir='.')
-testRunner = unittest.TextTestRunner()
-testRunner.run(tests)
+import nose
+from os import path
+
+file_path = path.abspath(__file__)
+tests_path = path.join(path.abspath(path.dirname(file_path)), "tests")
+nose.main(argv=[path.abspath(__file__), "--with-coverage", "--cover-erase", "--cover-package=nd2reader", tests_path])