From 6ca2fc23cd050ed0374a8be647e51d7ceca72bfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Wed, 1 Sep 2021 20:22:35 +0100 Subject: [PATCH] fix: travis run --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1827e12..5413591 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=repos 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=repos setup.py test; else python setup.py test; fi +after_success: if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coveralls; fi deploy: provider: pypi user: joamag