summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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