From beec7eb8b8348c3889e5467507c3b4eec9ba3dc0 Mon Sep 17 00:00:00 2001 From: raghavys Date: Mon, 30 Oct 2017 14:03:43 -0400 Subject: [PATCH 1/2] Update .travis.yml --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3439610..0f22bc6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,14 +2,17 @@ language: python sudo: false cache: pip python: +- '2.7' - '3.2' - '3.3' - '3.4' - '3.5' install: - pip install -r requirements.txt +- pip install codecov script: - python -m unittest discover +- coverage run tests.py notifications: hipchat: rooms: @@ -19,4 +22,6 @@ notifications: Build %{build_number} on branch %{branch} by %{author}: %{message} View on GitHub' format: html - notify: false \ No newline at end of file + notify: false +after_success: +- codecov From 6a3daee6b44266285d3d4d5b7baf115d85bbbda4 Mon Sep 17 00:00:00 2001 From: Matt Bernier Date: Wed, 22 Nov 2017 09:52:43 -0700 Subject: [PATCH 2/2] Tell codecov where to look for test files --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0f22bc6..399f80b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ install: - pip install codecov script: - python -m unittest discover -- coverage run tests.py +- coverage run --source=test notifications: hipchat: rooms: