From 6bd77c0abd3bb203a5c39b67a89d6ff6af079cc5 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 26 Feb 2019 19:03:02 -0300 Subject: [PATCH] Remove appveyor.yml and related scripts --- README.rst | 3 --- appveyor.yml | 47 ------------------------------------ scripts/install-pypy.bat | 6 ----- scripts/prepare-coverage.bat | 10 -------- 4 files changed, 66 deletions(-) delete mode 100644 appveyor.yml delete mode 100644 scripts/install-pypy.bat delete mode 100644 scripts/prepare-coverage.bat diff --git a/README.rst b/README.rst index 81b9d1ed8..1955d3503 100644 --- a/README.rst +++ b/README.rst @@ -25,9 +25,6 @@ .. image:: https://dev.azure.com/pytest-dev/pytest/_apis/build/status/pytest-CI?branchName=master :target: https://dev.azure.com/pytest-dev/pytest -.. image:: https://ci.appveyor.com/api/projects/status/mrgbjaua7t33pg6b?svg=true - :target: https://ci.appveyor.com/project/pytestbot/pytest - .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/ambv/black diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 230fc6b9f..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,47 +0,0 @@ -environment: - global: - PYTEST_NO_COVERAGE: "1" - matrix: - - TOXENV: "py37-xdist" - - TOXENV: "py27-xdist" - - TOXENV: "linting,docs,doctesting" - - TOXENV: "py34-xdist" - - TOXENV: "py35-xdist" - - TOXENV: "py36-xdist" - # NOTE: pypy-xdist is buggy currently (https://github.com/pytest-dev/pytest-xdist/issues/142). - - TOXENV: "pypy" - # Specialized factors for py27. - - TOXENV: "py27-trial,py27-numpy,py27-nobyte" - # Specialized factors for py37. - - TOXENV: "py37-trial,py37-numpy" - - TOXENV: "py37-freeze" - -matrix: - fast_finish: true - -install: - - echo Installed Pythons - - dir c:\Python* - - - set PATH=C:\Python36;C:\Python36\Scripts;%PATH% - - - if "%TOXENV%" == "pypy" call scripts\install-pypy.bat - - - python -m pip install --upgrade pip - - python -m pip install --upgrade --pre tox - -build: false # Not a C# project, build stuff at the test step instead. - -before_test: - - call scripts\prepare-coverage.bat - -test_script: - - python -m tox - -cache: - - '%LOCALAPPDATA%\pip\cache' - - '%USERPROFILE%\.cache\pre-commit' - -# We don't deploy anything on tags with AppVeyor, we use Travis instead, so we -# might as well save resources -skip_tags: true diff --git a/scripts/install-pypy.bat b/scripts/install-pypy.bat deleted file mode 100644 index 8012ea46a..000000000 --- a/scripts/install-pypy.bat +++ /dev/null @@ -1,6 +0,0 @@ -REM install pypy using choco -REM redirect to a file because choco install python.pypy is too noisy. If the command fails, write output to console -choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log & exit /b 1) -set PATH=C:\tools\pypy\pypy;%PATH% # so tox can find pypy -echo PyPy installed -pypy --version diff --git a/scripts/prepare-coverage.bat b/scripts/prepare-coverage.bat deleted file mode 100644 index bff1e62b0..000000000 --- a/scripts/prepare-coverage.bat +++ /dev/null @@ -1,10 +0,0 @@ -REM scripts called by AppVeyor to setup the environment variables to enable coverage -if not defined PYTEST_NO_COVERAGE ( - set "COVERAGE_FILE=%CD%\.coverage" - set "COVERAGE_PROCESS_START=%CD%\.coveragerc" - set "_PYTEST_TOX_COVERAGE_RUN=coverage run -m" - set "_PYTEST_TOX_EXTRA_DEP=coverage-enable-subprocess" - echo Coverage setup completed -) else ( - echo Skipping coverage setup, PYTEST_NO_COVERAGE is set -)