Skip to content

Commit 24bade1

Browse files
authored
break: remove Travis CI support (#2682)
Stop testing on Travis CI. References to Travis CI are removed from docs. Travis CI specifics are kept as-is in cibuildwheel itself (mostly logging stuff).
1 parent a68c3b2 commit 24bade1

File tree

10 files changed

+7
-263
lines changed

10 files changed

+7
-263
lines changed

.travis.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.

CI.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
This is a summary of the host Python versions and platforms covered by the different CI platforms:
22

3-
| | 3.11 | 3.12 | 3.13 |
4-
|---------|----------------------------------|---------------------------------------------|----------------|
5-
| Linux | Azure Pipelines / GitHub Actions | CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
6-
| macOS | Azure Pipelines | CircleCI¹ / Cirrus CI / GitLab¹ | GitHub Actions |
7-
| Windows | Azure Pipelines | Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
3+
| | 3.11 | 3.12 | 3.13 | 3.14 |
4+
|---------|----------------------------------|---------------------------------|----------------|----------------|
5+
| Linux | Azure Pipelines / GitHub Actions | CircleCI¹ / Cirrus CI / GitLab¹ | GitHub Actions | GitHub Actions |
6+
| macOS | Azure Pipelines | CircleCI¹ / Cirrus CI / GitLab¹ | GitHub Actions | |
7+
| Windows | Azure Pipelines | Cirrus CI / GitLab¹ | GitHub Actions | |
88

99
> ¹ Runs a reduced set of tests to reduce CI load
10-
11-
Non-x86 architectures are covered on Travis CI using Python 3.12.

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ cibuildwheel
44
[![PyPI](https://img.shields.io/pypi/v/cibuildwheel.svg)](https://pypi.python.org/pypi/cibuildwheel)
55
[![Documentation Status](https://readthedocs.org/projects/cibuildwheel/badge/?version=stable)](https://cibuildwheel.pypa.io/en/stable/?badge=stable)
66
[![Actions Status](https://github.com/pypa/cibuildwheel/workflows/Test/badge.svg)](https://github.com/pypa/cibuildwheel/actions)
7-
[![Travis Status](https://img.shields.io/travis/com/pypa/cibuildwheel/main?logo=travis)](https://travis-ci.com/github/pypa/cibuildwheel)
87
[![CircleCI Status](https://img.shields.io/circleci/build/gh/pypa/cibuildwheel/main?logo=circleci)](https://circleci.com/gh/pypa/cibuildwheel)
98
[![Azure Status](https://dev.azure.com/joerick0429/cibuildwheel/_apis/build/status/pypa.cibuildwheel?branchName=main)](https://dev.azure.com/joerick0429/cibuildwheel/_build/latest?definitionId=4&branchName=main)
109

@@ -15,7 +14,7 @@ cibuildwheel
1514

1615
Python wheels are great. Building them across **Mac, Linux, Windows**, on **multiple versions of Python**, is not.
1716

18-
`cibuildwheel` is here to help. `cibuildwheel` runs on your CI server - currently it supports GitHub Actions, Azure Pipelines, Travis CI, CircleCI, and GitLab CI - and it builds and tests your wheels across all of your platforms.
17+
`cibuildwheel` is here to help. `cibuildwheel` runs on your CI server - currently it supports GitHub Actions, Azure Pipelines, CircleCI, and GitLab CI - and it builds and tests your wheels across all of your platforms.
1918

2019

2120
What does it do?
@@ -46,7 +45,7 @@ While cibuildwheel itself requires a recent Python version to run (we support th
4645
<sup>⁵ manylinux armv7l support is experimental. As there are no RHEL based image for this architecture, it's using an Ubuntu based image instead.</sup><br>
4746

4847
- Builds manylinux, musllinux, macOS, and Windows wheels for CPython, PyPy, and GraalPy
49-
- Works on GitHub Actions, Azure Pipelines, Travis CI, CircleCI, GitLab CI, and Cirrus CI
48+
- Works on GitHub Actions, Azure Pipelines, CircleCI, GitLab CI, and Cirrus CI
5049
- Bundles shared library dependencies on Linux and macOS through [auditwheel](https://github.com/pypa/auditwheel) and [delocate](https://github.com/matthew-brett/delocate)
5150
- Runs your library's tests against the wheel-installed version of your library
5251

@@ -61,7 +60,6 @@ Usage
6160
|-----------------|-------|-------|---------|-----------|-----------|-------------|---------|-----|
6261
| GitHub Actions |||||| ✅² | ✅⁴ | ✅³ |
6362
| Azure Pipelines |||| || ✅² | ✅⁴ | ✅³ |
64-
| Travis CI || ||| | | ✅⁴ | |
6563
| CircleCI ||| ||| | ✅⁴ | ✅³ |
6664
| Gitlab CI |||| ✅¹ || | ✅⁴ | ✅³ |
6765
| Cirrus CI |||||| | ✅⁴ | |

docs/ci-services.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -72,22 +72,6 @@ Commit this file, enable building of your repo on Azure Pipelines, and push.
7272

7373
Wheels will be stored for you and available through the Pipelines interface. For more info on this file, check out the [docs](https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema).
7474

75-
### Travis CI [linux/windows] {: #travis-ci}
76-
77-
To build Linux and Windows wheels on Travis CI, create a `.travis.yml` file in your repo.
78-
79-
> .travis.yml
80-
81-
```yaml
82-
{% include "../examples/travis-ci-minimal.yml" %}
83-
```
84-
85-
Commit this file, enable building of your repo on Travis CI, and push.
86-
87-
Then setup a deployment method by following the [Travis CI deployment docs](https://docs.travis-ci.com/user/deployment/), or see [Delivering to PyPI](deliver-to-pypi.md). For more info on `.travis.yml`, check out the [docs](https://docs.travis-ci.com/).
88-
89-
[`examples/travis-ci-deploy.yml`](https://github.com/pypa/cibuildwheel/blob/main/examples/travis-ci-deploy.yml) extends this minimal example with a demonstration of how to automatically upload the built wheels to PyPI.
90-
9175
### CircleCI [linux/mac] {: #circleci}
9276

9377
To build Linux and Mac wheels on CircleCI, create a `.circleci/config.yml` file in your repo,

docs/configuration.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,6 @@ cibuildwheel to run tests, add the following YAML to your CI config file:
3030
CIBW_TEST_COMMAND: "pytest {project}/tests"
3131
```
3232

33-
!!! tab "Travis CI"
34-
35-
> .travis.yml ([docs](https://docs.travis-ci.com/user/environment-variables/))
36-
37-
```yaml
38-
env:
39-
global:
40-
- CIBW_TEST_REQUIRES=pytest
41-
- CIBW_TEST_COMMAND="pytest {project}/tests"
42-
```
43-
4433
!!! tab "CircleCI"
4534

4635
> .circleci/config.yml ([docs](https://circleci.com/docs/2.0/configuration-reference/#environment))

docs/deliver-to-pypi.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ for an example configuration that automatically uploads wheels to PyPI. Also see
7171
[scikit-hep.org/developer/gha_wheels](https://scikit-hep.org/developer/gha_wheels)
7272
for a complete guide.
7373

74-
### TravisCI
75-
76-
See
77-
[`examples/travis-ci-deploy.yml`](https://github.com/pypa/cibuildwheel/blob/main/examples/travis-ci-deploy.yml)
78-
for an example configuration.
79-
8074
## Manual method
8175

8276
On your development machine, install [pipx](https://pipx.pypa.io/) and do the following:

examples/travis-ci-deploy.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

examples/travis-ci-minimal.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

examples/travis-ci-test-and-deploy.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ keywords = [
1919
"macos",
2020
"packaging",
2121
"pypi",
22-
"travis",
2322
"wheel",
2423
"windows",
2524
]

0 commit comments

Comments
 (0)