summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2015-07-27 15:12:33 -0700
committerAmjith Ramanujam <amjith.r@gmail.com>2015-07-27 15:12:33 -0700
commitf39eb99eb93b4fea7a4b4f1953bdc86be6994b36 (patch)
treeb8f3e372526ea5f99eab91d2ff8837a58d9b265c
parent7db156629bdf32c8dd75ba3bf6a8efbfbfcbe57c (diff)
parent6a4ace0e26c4937cdab1196245d4bb312a29c870 (diff)
Merge pull request #299 from dbcli/j-bennet/add-test-coverage
Added test coverage with codecov.io
-rw-r--r--.travis.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 66761ac9..0e33ab91 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,9 +6,13 @@ python:
- "3.4"
install:
- - pip install . pytest mock
+ - pip install . pytest mock codecov
-script: py.test
+script:
+ - coverage run --source pgcli -m py.test
+
+after_success:
+ - codecov
notifications:
webhooks:
@@ -16,4 +20,4 @@ notifications:
- YOUR_WEBHOOK_URL
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
- on_start: false # default: false
+ on_start: false # default: false \ No newline at end of file