From f7b484c469ae724418baab965c88c6112146d06f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Fri, 16 Apr 2021 19:47:31 +0100 Subject: [PATCH] fix: pypy running for travis --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f7f303a..118f7fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,9 +21,9 @@ before_install: - pip install --upgrade pip setuptools install: - pip install -r requirements.txt - - pip install coveralls -script: coverage run --source=shopify 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=shopify setup.py test; else python setup.py test; fi +after_success: if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coveralls; fi deploy: provider: pypi user: joamag