Upload coverage data only if $COVERAGE is "yes".

This reverts commit 02814c3f28e47cf92f13117bc6110ce14625304f partly.