2021-05-23 21:34:07 +02:00
|
|
|
os: linux
|
|
|
|
|
dist: focal
|
|
|
|
|
language: python
|
2017-09-01 13:49:39 +01:00
|
|
|
|
2020-04-07 11:49:10 +01:00
|
|
|
branches:
|
|
|
|
|
only:
|
2021-05-27 10:28:52 +01:00
|
|
|
- main
|
2020-04-07 11:49:10 +01:00
|
|
|
|
2020-03-07 10:46:26 +00:00
|
|
|
jobs:
|
2017-03-20 23:54:29 +00:00
|
|
|
include:
|
2023-06-14 00:02:10 +02:00
|
|
|
- name: Linux | x86_64 + i686 | Python 3.9
|
|
|
|
|
python: 3.9
|
2018-05-02 22:39:24 +02:00
|
|
|
services: docker
|
|
|
|
|
env: PYTHON=python
|
2017-09-10 21:29:01 +01:00
|
|
|
|
2023-06-14 00:02:10 +02:00
|
|
|
- name: Linux | arm64 | Python 3.9
|
|
|
|
|
python: 3.9
|
2020-02-20 13:51:37 -05:00
|
|
|
services: docker
|
2021-05-29 14:15:00 -04:00
|
|
|
arch: arm64-graviton2
|
|
|
|
|
group: edge
|
|
|
|
|
virt: vm
|
2020-02-20 13:51:37 -05:00
|
|
|
env: PYTHON=python
|
|
|
|
|
|
2023-06-14 00:02:10 +02:00
|
|
|
- name: Linux | ppc64le | Python 3.9
|
|
|
|
|
python: 3.9
|
2020-02-20 13:51:37 -05:00
|
|
|
services: docker
|
|
|
|
|
arch: ppc64le
|
2021-05-29 14:15:00 -04:00
|
|
|
allow_failure: True
|
2021-05-23 21:34:07 +02:00
|
|
|
env:
|
|
|
|
|
- PYTHON=python
|
|
|
|
|
# skip test_manylinuxXXXX_only, it uses too much disk space
|
|
|
|
|
# c.f. https://travis-ci.community/t/running-out-of-disk-space-quota-when-using-docker-on-ppc64le/11634
|
|
|
|
|
- PYTEST_ADDOPTS='-k "not test_manylinuxXXXX_only"'
|
2020-02-20 13:51:37 -05:00
|
|
|
|
2023-06-14 00:02:10 +02:00
|
|
|
- name: Windows | x86_64 | Python 3.9
|
2020-03-07 10:21:50 +00:00
|
|
|
os: windows
|
2019-10-23 22:53:10 +02:00
|
|
|
language: shell
|
|
|
|
|
before_install:
|
2023-06-14 00:02:10 +02:00
|
|
|
- choco upgrade python3 -y --version 3.9.13 --limit-output --params "/InstallDir:C:\\Python39"
|
2020-03-07 10:52:53 +00:00
|
|
|
env:
|
2023-06-14 00:02:10 +02:00
|
|
|
- PYTHON=C:\\Python39\\python
|
2019-10-23 22:53:10 +02:00
|
|
|
|
2023-06-14 00:02:10 +02:00
|
|
|
- name: Linux | s390x | Python 3.9
|
|
|
|
|
python: 3.9
|
2020-03-07 10:21:50 +00:00
|
|
|
services: docker
|
|
|
|
|
arch: s390x
|
|
|
|
|
env: PYTHON=python
|
|
|
|
|
|
2022-01-09 12:17:51 +01:00
|
|
|
install:
|
|
|
|
|
- $PYTHON -m pip install -U pip
|
|
|
|
|
- $PYTHON -m pip install -e ".[dev]" pytest-custom-exit-code
|
2018-05-02 22:39:24 +02:00
|
|
|
|
2022-06-04 20:03:02 +02:00
|
|
|
script: |
|
|
|
|
|
# travis_wait disable the output while waiting
|
|
|
|
|
# use the same kind of tricks as in multibuild
|
|
|
|
|
(while true; do echo "travis_keep_alive"; sleep 300; done) &
|
|
|
|
|
SPINNER_PID=$!
|
|
|
|
|
disown
|
|
|
|
|
$PYTHON ./bin/run_tests.py
|
|
|
|
|
kill -9 ${SPINNER_PID}
|