From 853d008c3135419379f0091d5d36f374222749a5 Mon Sep 17 00:00:00 2001 From: Tal Einat Date: Tue, 30 Jun 2015 14:53:56 +0300 Subject: [PATCH] travis: run coveralls only after appropriate runs Only run coveralls after test runs with coverage. Inspiration: http://stackoverflow.com/questions/29082831/ --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 464e45d..5e66f6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,4 +16,6 @@ env: script: - tox after_success: - - coveralls + if [[ "TOXENV" ~= "with_coverage" ]]; then + coveralls + fi