From b9295eda097c24ee08d1d53f314372ef4144da23 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 28 Sep 2021 16:30:41 +0200 Subject: [PATCH] ci: only run coveralls script if ENV var is set (for token) As the token is typically not available for pull requests. --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index f69440d3c..d5a780d95 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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