From 29a9963a79dd83e5219b5ca4a40ed291bd6796d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Wed, 2 Jun 2021 18:56:46 +0200 Subject: [PATCH] add support for pypy --- .travis.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 643573a..d7c1d7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,11 +14,18 @@ after_script: jobs: include: - stage: test - python: "3.8" + python: "pypy3.5" + before_script: + - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + - chmod +x ./cc-test-reporter + - ./cc-test-reporter before-build + - pypy3 -m pip install -r requirements.txt + - pypy3 -m pip install pytest coverage pytest-cov + - DEBUG=1 pypy3 setup.py install script: - pytest --cov=./ --cov-report=xml - stage: test - python: "pypy3.5" + python: "3.8" script: - pytest --cov=./ --cov-report=xml - stage: test -- GitLab