Skip to content

Commit

Permalink
Add workaround for coveralls on Python 3.6
Browse files Browse the repository at this point in the history
Apparently, for some reason yet to be determined, it appears that
`coveralls` cannot upload the results from `coverage` on Python 3.6. It
looks like `coverage` may not be able to read what it wrote :/. So here
we try to install Python 3.5 before uploading `coverage`'s results.
  • Loading branch information
jakirkham committed Feb 18, 2017
1 parent fde603c commit dca1ee7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ script:

# Report coverage
after_success:
- if [[ "${PYVER}" == "3.6" ]]; then conda install -yq python=3.5 --file environment_ci.yml; fi
- coveralls

# Disable email notifications.
Expand Down

0 comments on commit dca1ee7

Please sign in to comment.