summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-10-22 14:09:25 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-10-23 22:46:52 -0400
commitca9ad41aeb98be511d9451706a9e29dd5016df00 (patch)
treea1a4559b7d99310a13ade274c2b92ca65c6e2932
parent6ad08b8489ac1c1eba37d32525fa7fa8465076c9 (diff)
downloadpytest-runner-ca9ad41aeb98be511d9451706a9e29dd5016df00.tar.gz
Drop tests on Travis, Appveyor, and Azure Pipelines.
-rw-r--r--.travis.yml19
-rw-r--r--README.rst11
-rw-r--r--appveyor.yml24
-rw-r--r--azure-pipelines.yml72
-rw-r--r--skeleton.md26
5 files changed, 4 insertions, 148 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index eed7b0a..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-dist: bionic
-language: python
-
-python:
-- 3.6
-- &latest_py3 3.8
-
-cache: pip
-
-install:
-# ensure virtualenv is upgraded to avoid issues like jaraco/path#188
-- pip install -U --upgrade-strategy=eager tox
-
-before_script:
- # Enable IPv6. Ref travis-ci/travis-ci#8361
- - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
- sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
- fi
-script: tox
diff --git a/README.rst b/README.rst
index 4c7fd55..69554ef 100644
--- a/README.rst
+++ b/README.rst
@@ -6,18 +6,13 @@
.. _PyPI link: https://pypi.org/project/skeleton
-.. image:: https://dev.azure.com/jaraco/skeleton/_apis/build/status/jaraco.skeleton?branchName=master
- :target: https://dev.azure.com/jaraco/skeleton/_build/latest?definitionId=1&branchName=master
-
-.. image:: https://img.shields.io/travis/jaraco/skeleton/master.svg
- :target: https://travis-ci.org/jaraco/skeleton
+.. image:: https://github.com/jaraco/skeleton/workflows/Automated%20Tests/badge.svg
+ :target: https://github.com/jaraco/skeleton/actions?query=workflow%3A%22Automated+Tests%22
+ :alt: Automated Tests
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code style: Black
-.. .. image:: https://img.shields.io/appveyor/ci/jaraco/skeleton/master.svg
-.. :target: https://ci.appveyor.com/project/jaraco/skeleton/branch/master
-
.. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
.. :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index c6f46e4..0000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-environment:
-
- APPVEYOR: true
-
- matrix:
- - PYTHON: "C:\\Python36-x64"
- - PYTHON: "C:\\Python38-x64"
-
-install:
- # symlink python from a directory with a space
- - "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
- - "SET PYTHON=\"C:\\Program Files\\Python\""
- - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
-
-build: off
-
-cache:
- - '%LOCALAPPDATA%\pip\Cache'
-
-test_script:
- - "python -m pip install -U tox virtualenv"
- - "tox"
-
-version: '{build}'
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
deleted file mode 100644
index 6d31899..0000000
--- a/azure-pipelines.yml
+++ /dev/null
@@ -1,72 +0,0 @@
-# Create the project in Azure with:
-# az devops project create --name $name --organization https://dev.azure.com/$org/ --visibility public
-# then configure the pipelines (through web UI)
-
-trigger:
- branches:
- include:
- - '*'
- tags:
- include:
- - '*'
-
-pool:
- vmImage: $(pool_vm_image)
-
-variables:
-- group: Azure secrets
-- name: pool_vm_image
- value: Ubuntu-18.04
-
-stages:
-- stage: Test
- jobs:
-
- - job: 'Test'
- strategy:
- matrix:
- Bionic Python 3.6:
- python.version: '3.6'
- Bionic Python 3.8:
- python.version: '3.8'
- Windows Python 3.8:
- python.version: '3.8'
- pool_vm_image: vs2017-win2016
- Windows Python Prerelease:
- python.version: '3.9'
- pool_vm_image: vs2017-win2016
- MacOS:
- python.version: '3.8'
- pool_vm_image: macos-10.15
-
- maxParallel: 4
-
- steps:
- - task: NuGetToolInstaller@1
- displayName: 'Install NuGet'
- condition: eq(variables['pool_vm_image'], 'vs2017-win2016')
-
- - powershell: |
- nuget install python -Prerelease -OutputDirectory "$(Build.BinariesDirectory)" -ExcludeVersion -NonInteractive
- Write-Host "##vso[task.prependpath]$(Build.BinariesDirectory)\python\tools"
- Write-Host "##vso[task.prependpath]$(Build.BinariesDirectory)\python\tools\Scripts"
- condition: and(succeeded(), and(eq(variables['python.version'], '3.9'), eq(variables['pool_vm_image'], 'vs2017-win2016')))
-
- - task: UsePythonVersion@0
- inputs:
- versionSpec: '$(python.version)'
- architecture: 'x64'
- condition: and(succeeded(), ne(variables['python.version'], '3.9'))
-
- - script: python -m pip install tox
- displayName: 'Install tox'
-
- - script: |
- tox -- --junit-xml=test-results.xml
- displayName: 'run tests'
-
- - task: PublishTestResults@2
- inputs:
- testResultsFiles: '**/test-results.xml'
- testRunTitle: 'Python $(python.version)'
- condition: succeededOrFailed()
diff --git a/skeleton.md b/skeleton.md
index c6b0cd0..7c3956c 100644
--- a/skeleton.md
+++ b/skeleton.md
@@ -108,7 +108,7 @@ Relies on a .flake8 file to correct some default behaviors:
## Continuous Integration
-The project is pre-configured to run tests through multiple CI providers.
+The project is pre-configured to run Continuous Integration tests.
### Github Actions
@@ -119,30 +119,6 @@ Features include:
- run on late (and updated) platform versions
- automated releases of tagged commits
-### Azure Pipelines
-
-[Azure Pipelines](https://azure.microsoft.com/en-us/services/devops/pipelines/) were adopted for free, fast, multi-platform services. See azure-pipelines.yml for more details.
-
-Azure Pipelines require many [complicated setup steps](https://github.com/Azure/azure-devops-cli-extension/issues/968) that have not been readily automated.
-
-Features include:
-
-- test against multiple Python versions
-- run on Ubuntu Bionic
-
-### Travis CI
-
-[Travis CI](https://travis-ci.org) is configured through .travis.yml. Any new project must be enabled either through their web site or with the `travis enable` command.
-
-Features include:
-- test against Python 3
-- run on Ubuntu Bionic
-- correct for broken IPv6
-
-### AppVeyor
-
-A minimal template for running under AppVeyor (Windows) is provided.
-
### Continuous Deployments
In addition to running tests, an additional publish stage is configured to automatically release tagged commits to PyPI using [API tokens](https://pypi.org/help/#apitoken). The release process expects an authorized token to be configured with each Github project (or org) `PYPI_TOKEN` [secret](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets). Example: