Revert "Remove travis-ci macOS from docs/examples"
This reverts commit 5de574d36820c2481f4e7557ed6aa0e431ee3e63.
This commit is contained in:
committed by
Henry Schreiner
parent
6d5c80c624
commit
e4a917f717
@@ -1,11 +1,12 @@
|
|||||||
This is a summary of the Python versions and platforms covered by the different CI platforms:
|
This is a summary of the Python versions and platforms covered by the different CI platforms:
|
||||||
|
|
||||||
| | 3.6 | 3.7 | 3.8 |
|
| | 3.6 | 3.7 | 3.8 |
|
||||||
|----------|------------------------------|-----------------------------|------------------|
|
|----------|------------------------------|------------------------------------------|------------------|
|
||||||
| Linux | Travis CI / CircleCI | AppVeyor¹ / GitHub Actions | Azure Pipelines |
|
| Linux | Travis CI / CircleCI | AppVeyor² / GitHub Actions | Azure Pipelines |
|
||||||
| macOS | CircleCI | AppVeyor¹ / GitHub Actions | Azure Pipelines |
|
| macOS | CircleCI | AppVeyor² / Travis CI¹ / GitHub Actions | Azure Pipelines |
|
||||||
| Windows | Travis CI / Azure Pipelines | AppVeyor¹ / GitHub Actions | Azure Pipelines |
|
| Windows | Travis CI / Azure Pipelines | AppVeyor² / GitHub Actions | Azure Pipelines |
|
||||||
|
|
||||||
> ¹ AppVeyor only runs the "basic" test to reduce load.
|
> ¹ Python version not really pinned, but dependent on the (default) version of image used.
|
||||||
|
> ² AppVeyor only runs the "basic" test to reduce load.
|
||||||
|
|
||||||
Non-x86 architectures are covered on Travis CI using Python 3.6.
|
Non-x86 architectures are covered on Travis CI using Python 3.6.
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ Usage
|
|||||||
|-----------------|-------|-------|---------|--------------|
|
|-----------------|-------|-------|---------|--------------|
|
||||||
| GitHub Actions | ✅ | ✅ | ✅ | ✅¹ |
|
| GitHub Actions | ✅ | ✅ | ✅ | ✅¹ |
|
||||||
| Azure Pipelines | ✅ | ✅ | ✅ | |
|
| Azure Pipelines | ✅ | ✅ | ✅ | |
|
||||||
| Travis CI | ✅ | | ✅ | ✅ |
|
| Travis CI | ✅ | ✅ | ✅ | ✅ |
|
||||||
| AppVeyor | ✅ | ✅ | ✅ | |
|
| AppVeyor | ✅ | ✅ | ✅ | |
|
||||||
| CircleCI | ✅ | ✅ | | |
|
| CircleCI | ✅ | ✅ | | |
|
||||||
| Gitlab CI | ✅ | | | |
|
| Gitlab CI | ✅ | | | |
|
||||||
|
|||||||
+2
-2
@@ -116,9 +116,9 @@ Commit this file, enable building of your repo on Azure Pipelines, and push.
|
|||||||
|
|
||||||
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).
|
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).
|
||||||
|
|
||||||
# Travis CI [linux/windows] {: #travis-ci}
|
# Travis CI [linux/mac/windows] {: #travis-ci}
|
||||||
|
|
||||||
To build Linux and Windows wheels on Travis CI, create a `.travis.yml` file in your repo.
|
To build Linux, Mac, and Windows wheels on Travis CI, create a `.travis.yml` file in your repo.
|
||||||
|
|
||||||
> .travis.yml
|
> .travis.yml
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
# perform a linux build
|
# perform a linux build
|
||||||
- services: docker
|
- services: docker
|
||||||
|
# and a mac build
|
||||||
|
- os: osx
|
||||||
|
language: shell
|
||||||
# and a windows build
|
# and a windows build
|
||||||
- os: windows
|
- os: windows
|
||||||
language: shell
|
language: shell
|
||||||
|
|||||||
@@ -15,6 +15,9 @@ jobs:
|
|||||||
# perform a linux S390X build
|
# perform a linux S390X build
|
||||||
- services: docker
|
- services: docker
|
||||||
arch: s390x
|
arch: s390x
|
||||||
|
# and a mac build
|
||||||
|
- os: osx
|
||||||
|
language: shell
|
||||||
# and a windows build
|
# and a windows build
|
||||||
- os: windows
|
- os: windows
|
||||||
language: shell
|
language: shell
|
||||||
|
|||||||
@@ -62,6 +62,16 @@ jobs:
|
|||||||
after_success: |
|
after_success: |
|
||||||
python3 -m pip install twine
|
python3 -m pip install twine
|
||||||
python3 -m twine upload --skip-existing wheelhouse/*.whl
|
python3 -m twine upload --skip-existing wheelhouse/*.whl
|
||||||
|
# Deploy on mac
|
||||||
|
- stage: deploy
|
||||||
|
name: Build and deploy macOS wheels
|
||||||
|
os: osx
|
||||||
|
language: shell
|
||||||
|
install: python3 -m pip install cibuildwheel==1.11.0
|
||||||
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||||
|
after_success: |
|
||||||
|
python3 -m pip install twine
|
||||||
|
python3 -m twine upload --skip-existing wheelhouse/*.whl
|
||||||
# Deploy on windows
|
# Deploy on windows
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
name: Build and deploy Windows wheels
|
name: Build and deploy Windows wheels
|
||||||
|
|||||||
Reference in New Issue
Block a user