Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Travis CI tests on ppc64le/s390x #689

Merged
merged 6 commits into from
May 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 9 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
language: minimal
os: linux
dist: focal
language: python

branches:
only:
Expand All @@ -7,24 +9,25 @@ branches:
jobs:
include:
- name: Linux | x86_64 + i686 | Python 3.6
language: python
python: 3.6
services: docker
env: PYTHON=python

- name: Linux | arm64 | Python 3.6
language: python
python: 3.6
services: docker
arch: arm64
env: PYTHON=python

- name: Linux | ppc64le | Python 3.6
language: python
python: 3.6
services: docker
arch: ppc64le
env: PYTHON=python
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"'

- name: Windows | x86_64 | Python 3.6
os: windows
Expand All @@ -36,18 +39,12 @@ jobs:
env:
- PYTHON=C:\\Python36\\python

- &linux_s390x_36
name: Linux | s390x | Python 3.6
language: python
- name: Linux | s390x | Python 3.6
python: 3.6
services: docker
arch: s390x
env: PYTHON=python

allow_failures:
# must repeat the s390x job above exactly to match
- *linux_s390x_36

install: $PYTHON -m pip install -e ".[dev]" pytest-custom-exit-code

script: $PYTHON ./bin/run_tests.py
2 changes: 2 additions & 0 deletions examples/travis-ci-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# As written, this configuration will build your wheels on every
# commit, but will only push to PyPI on tagged commits.

os: linux
dist: focal
language: python

jobs:
Expand Down
2 changes: 2 additions & 0 deletions examples/travis-ci-minimal.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
os: linux
dist: focal
language: python

jobs:
Expand Down
2 changes: 2 additions & 0 deletions examples/travis-ci-test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# repo is yours (e.g. it won't run on a Pull Request). For convenience, a source
# distribution is also created.

os: linux
dist: focal
language: python
python:
- 3.6
Expand Down