From 0b4cf64c61e4b169d7afd98e64fc3ac075366c78 Mon Sep 17 00:00:00 2001 From: Michael K Date: Tue, 20 Oct 2020 05:12:56 +0000 Subject: [PATCH] Remove config for Travis CI and Azure Pipelines (#1289) --- .azure_pipelines/azure-pipelines.yml | 74 ---------------------------- .travis.yml | 33 ------------- README.rst | 6 --- 3 files changed, 113 deletions(-) delete mode 100644 .azure_pipelines/azure-pipelines.yml delete mode 100644 .travis.yml diff --git a/.azure_pipelines/azure-pipelines.yml b/.azure_pipelines/azure-pipelines.yml deleted file mode 100644 index 0189bf0de..000000000 --- a/.azure_pipelines/azure-pipelines.yml +++ /dev/null @@ -1,74 +0,0 @@ -#################### -# Azure Pipelines -#################### - -strategy: - matrix: - PY35: - PYTHON_VERSION: '3.5' - TOXFACTOR: py35 - PY36: - PYTHON_VERSION: '3.6' - TOXFACTOR: py36 - PY37: - PYTHON_VERSION: '3.7' - TOXFACTOR: py37 - PY38: - PYTHON_VERSION: '3.8' - TOXFACTOR: py38 - - PY38_isort: - PYTHON_VERSION: '3.8' - TOXENV: isort,lint,docs - PY38_warnings: - PYTHON_VERSION: '3.8' - TOXENV: warnings - -steps: -- task: UsePythonVersion@0 - inputs: - versionSpec: '$(PYTHON_VERSION)' - architecture: 'x64' - -- script: | - python -m pip install --upgrade pip setuptools - displayName: Ensure latest setuptools - -- script: | - pip install coverage tox tox-factor unittest-xml-reporting - displayName: Install deps - -- script: | - pip --version - tox --version - tox - displayName: Run tox - -- script: | - coverage combine - coverage report -m - coverage xml - coverage html - displayName: Coverage reporting - condition: eq(variables['TOXENV'], '') # skip for the custom TOXENV legs - -- task: PublishCodeCoverageResults@1 - displayName: Publish coverage results - inputs: - codeCoverageTool: cobertura - summaryFileLocation: '$(Build.SourcesDirectory)\coverage.xml' - reportDirectory: '$(Build.SourcesDirectory)\htmlcov' - condition: eq(variables['TOXENV'], '') # skip for the custom TOXENV legs - -- task: PublishTestResults@2 - displayName: Publish test results - inputs: - testResultsFiles: '**/TEST-*.xml' - testRunTitle: Python $(PYTHON_VERSION) - -# codecov disabled for now -- script: | - pip install codecov - codecov - displayName: Codecov - condition: false diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1740ac1e9..000000000 --- a/.travis.yml +++ /dev/null @@ -1,33 +0,0 @@ -os: linux -dist: bionic -language: python - -cache: pip - -install: - - pip install coverage tox tox-factor - -script: - - coverage erase - - tox - -jobs: - fast_finish: true - include: - - { python: "3.5", env: TOXFACTOR=py35 } - - { python: "3.6", env: TOXFACTOR=py36 } - - { python: "3.7", env: TOXFACTOR=py37 } - - { python: "3.8", env: TOXFACTOR=py38 } - - - python: "3.8" - env: TOXENV=isort,lint,docs - - python: "3.8" - env: TOXENV=warnings - allow_failures: - - env: TOXENV=warnings - -after_success: - - coverage combine --append - - coverage report -m - - pip install codecov - - codecov diff --git a/README.rst b/README.rst index b8cadfac9..248221708 100644 --- a/README.rst +++ b/README.rst @@ -6,12 +6,6 @@ add dynamic ``QuerySet`` filtering from URL parameters. Full documentation on `read the docs`_. -.. image:: https://dev.azure.com/noumenal/Django%20Filter/_apis/build/status/Django%20Filter-CI - :target: https://dev.azure.com/noumenal/Django%20Filter/_build/latest?definitionId=3 - -.. image:: https://travis-ci.org/carltongibson/django-filter.svg?branch=master - :target: https://travis-ci.org/carltongibson/django-filter - .. image:: https://codecov.io/gh/carltongibson/django-filter/branch/develop/graph/badge.svg :target: https://codecov.io/gh/carltongibson/django-filter