From 5e95bd4ae7404f70bda5cf71075c1ad9d55cd61a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Fri, 6 Aug 2021 18:26:43 +0200 Subject: [PATCH] add an extra architecture for ARM --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.travis.yml b/.travis.yml index 64391e8..2d602ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,12 @@ jobs: - pytest after_script: - echo "Do nothing" + - stage: test + python: "3.8" + arch: "arm64" + script: + - DEBUG=1 python setup.py install + - pytest --cov=./ --cov-report=xml - stage: test python: "3.8" script: @@ -66,6 +72,22 @@ jobs: - twine upload -u $PYPI_USER -p $PYPI_PWD *.whl after_script: - echo "Done" + - stage: deploy + python: "3.8" + arch: "arm64" + 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" - stage: deploy python: "3.9" before_script: -- GitLab