From c4a2ddf67726bcafb5f037613dc21a12ceaf23cf Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Mon, 11 Dec 2017 17:20:39 +0000
Subject: [PATCH] Add coverage logging to the project

---
 .travis.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 0386b0d7a..3c233c388 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,6 +31,7 @@ before_script:
 
 # Package installation
 install:
+  - pip install codecov
   # Install project dependencies
   - pip install -r requirements.txt
 
@@ -49,4 +50,7 @@ script:
   - python manage.py makemigrations --check --noinput
 
   # Run tests
-  - python manage.py test
+  - coverage run --source='.' manage.py test opentech
+
+after_success:
+  codecov
-- 
GitLab