From 3bc75c5f629988147a92cf0a0ea3e3d2498081ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Sat, 8 May 2021 11:32:32 +0100 Subject: [PATCH] fix: conditional coveralls --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddd529c..c5629d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,6 @@ before_install: install: - pip install -r requirements.txt - pip install -r extra.txt - - pip install coveralls -script: coverage run --source=appier_console setup.py test -after_success: coveralls + - if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install coveralls; fi +script: if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage run --source=appier_console setup.py test; else python setup.py test; fi +after_success: if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coveralls; fi