Skip to content
Snippets Groups Projects
Commit 1e493d13 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

compile under PyPy as well

parent d41819dd
No related branches found
No related tags found
No related merge requests found
...@@ -10,32 +10,41 @@ before_script: ...@@ -10,32 +10,41 @@ before_script:
- ./cc-test-reporter before-build - ./cc-test-reporter before-build
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install pytest coverage pytest-cov - pip install pytest coverage pytest-cov
- DEBUG=1 python setup.py install
after_script: after_script:
- coverage xml - coverage xml
- coverage report - coverage report
- ./cc-test-reporter after-build -t coverage.py --exit-code ${TRAVIS_TEST_RESULT} - ./cc-test-reporter after-build -t coverage.py --exit-code ${TRAVIS_TEST_RESULT}
jobs: jobs:
include: include:
- stage: test
python: "pypy3.5"
script:
- python setup.py install
- pytest --cov=./ --cov-report=xml
- stage: test - stage: test
python: "3.8" python: "3.8"
script: script:
- DEBUG=1 python setup.py install
- pytest --cov=./ --cov-report=xml - pytest --cov=./ --cov-report=xml
- stage: test - stage: test
python: "3.5" python: "3.5"
script: script:
- DEBUG=1 python setup.py install
- pytest --cov=./ --cov-report=xml - pytest --cov=./ --cov-report=xml
- stage: test - stage: test
python: "3.6" python: "3.6"
script: script:
- DEBUG=1 python setup.py install
- pytest --cov=./ --cov-report=xml - pytest --cov=./ --cov-report=xml
- stage: test - stage: test
python: "3.7" python: "3.7"
script: script:
- DEBUG=1 python setup.py install
- pytest --cov=./ --cov-report=xml - pytest --cov=./ --cov-report=xml
- stage: test - stage: test
python: "3.9" python: "3.9"
script: script:
- DEBUG=1 python setup.py install
- pytest --cov=./ --cov-report=xml - pytest --cov=./ --cov-report=xml
- stage: deploy - stage: deploy
python: "3.8" python: "3.8"
...@@ -112,5 +121,20 @@ jobs: ...@@ -112,5 +121,20 @@ jobs:
- twine upload -u $PYPI_USER -p $PYPI_PWD *.whl - twine upload -u $PYPI_USER -p $PYPI_PWD *.whl
after_script: after_script:
- echo "Done" - echo "Done"
- stage: test
python: "pypy3.5"
before_script:
- sudo apt-get update
- sudo apt-get install -y patchelf
- pip install wheel auditwheel twine doctor-wheel cython
script:
- python setup.py bdist_wheel
- cd dist
- doctor-wheel *.whl
- auditwheel repair --plat manylinux2014_x86_64 *.whl
- cd wheelhouse
- twine upload -u $PYPI_USER -p $PYPI_PWD *.whl
after_script:
- echo "Done"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment