ci: only run coveralls script if ENV var is set (for token)

As the token is typically not available for pull requests.
This commit is contained in:
SomberNight
2021-09-28 16:30:41 +02:00
parent baff4fa625
commit b9295eda09

View File

@@ -46,7 +46,7 @@ task:
tox_script:
- tox
coveralls_script:
- coveralls
- if [ ! -z "$COVERALLS_REPO_TOKEN" ] ; then coveralls ; fi
env:
ELECTRUM_REQUIREMENTS: contrib/requirements/requirements-travis.txt
# following CI_* env vars are set up for coveralls