From fe4ce777e1de6538fa5ae74f280f2179d8b4b6f3 Mon Sep 17 00:00:00 2001 From: Lincoln Puzey Date: Sat, 23 Jan 2021 18:11:46 +0800 Subject: [PATCH] Explicitly mark which job should submit coverage to coveralls. This is because two jobs now run py36-django111-postgresql tox environment. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 14b08d2..bfb73b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ jobs: # Python version is just for the look on travis. # Test the full python/django matrix with postgresql - python: 3.6 - env: TOXENV=py36-django111-postgresql + env: TOXENV=py36-django111-postgresql COLLECT_COVERAGE=true - python: 3.7 env: TOXENV=py37-django111-postgresql - python: 3.6 @@ -82,7 +82,7 @@ install: after_success: # only upload coverage report to coveralls from one job. - - if test "$TOXENV" = "py36-django111-postgresql"; then coveralls; fi + - if test "$COLLECT_COVERAGE" = "true"; then coveralls; fi deploy: edge: true # opt in to dpl v2