Skip to content

Commit

Permalink
Explicitly mark which job should submit coverage to coveralls.
Browse files Browse the repository at this point in the history
This is because two jobs now run py36-django111-postgresql tox environment.
  • Loading branch information
LincolnPuzey committed Jan 23, 2021
1 parent 98d890c commit fe4ce77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fe4ce77

Please sign in to comment.