Drop Travis CI and AppVeyor
This commit is contained in:
parent
b8cb25b78c
commit
1760745ec2
82
.travis.yml
82
.travis.yml
|
@ -1,82 +0,0 @@
|
|||
sudo: false # use Travis's container-based infrastructure
|
||||
language: python
|
||||
|
||||
python: "3.6"
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- python: "2.7"
|
||||
env:
|
||||
- TOXENV=py27-without_coverage
|
||||
- python: "2.7"
|
||||
env:
|
||||
- TOXENV=py27-with_coverage
|
||||
- python: "3.5"
|
||||
env:
|
||||
- TOXENV=py35-without_coverage
|
||||
- python: "3.5"
|
||||
env:
|
||||
- TOXENV=py35-with_coverage
|
||||
- python: "3.6"
|
||||
env:
|
||||
- TOXENV=py36-without_coverage
|
||||
- python: "3.6"
|
||||
env:
|
||||
- TOXENV=py36-with_coverage
|
||||
- python: "3.7"
|
||||
env:
|
||||
- TOXENV=py37-without_coverage
|
||||
- python: "3.7"
|
||||
env:
|
||||
- TOXENV=py37-with_coverage
|
||||
- python: "3.8"
|
||||
env:
|
||||
- TOXENV=py38-without_coverage
|
||||
- python: "3.8"
|
||||
env:
|
||||
- TOXENV=py38-with_coverage
|
||||
- python: "3.9"
|
||||
env:
|
||||
- TOXENV=py39-without_coverage
|
||||
- python: "3.9"
|
||||
env:
|
||||
- TOXENV=py39-with_coverage
|
||||
- python: "3.10"
|
||||
env:
|
||||
- TOXENV=py310-without_coverage
|
||||
- python: "3.10"
|
||||
env:
|
||||
- TOXENV=py310-with_coverage
|
||||
- python: "pypy"
|
||||
env:
|
||||
- TOXENV=pypy-without_coverage
|
||||
- python: "pypy"
|
||||
env:
|
||||
- TOXENV=pypy-with_coverage
|
||||
- env:
|
||||
- TOXENV=pypy3-without_coverage
|
||||
- env:
|
||||
- TOXENV=pypy3-with_coverage
|
||||
|
||||
install:
|
||||
- case "$TOXENV" in
|
||||
pypy3-*)
|
||||
curl -sSLO --retry 5 https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.3.1-linux64.tar.bz2;
|
||||
tar -xf pypy3.6-v7.3.1-linux64.tar.bz2;
|
||||
mv pypy3.6-v7.3.1-linux64 pypy3;
|
||||
ln -s pypy3/bin/pypy3 pypy3/bin/python;
|
||||
curl -sSLO --retry 5 https://bootstrap.pypa.io/get-pip.py;
|
||||
pypy3/bin/pypy3 get-pip.py;
|
||||
;;
|
||||
esac
|
||||
- PATH=$(pwd -P)/pypy3/bin:$PATH python -m pip install coveralls virtualenv "tox ~= 4.9"
|
||||
|
||||
script:
|
||||
- PATH=$(pwd -P)/pypy3/bin:$PATH tox -v
|
||||
|
||||
after_success:
|
||||
case "$TOXENV" in
|
||||
*with_coverage*)
|
||||
PATH=$(pwd -P)/pypy3/bin:$PATH coveralls
|
||||
;;
|
||||
esac
|
|
@ -100,9 +100,6 @@ Before you submit a pull request, check that it meets these guidelines:
|
|||
2. If the pull request adds functionality, the docs should be updated. Put
|
||||
your new functionality into a function with a docstring, and add the
|
||||
feature to the list in README.rst.
|
||||
3. The pull request should work for Python 2.6, 2.7, and 3.3, and for PyPy. Check
|
||||
https://travis-ci.org/taleinat/fuzzysearch/pull_requests
|
||||
and make sure that the tests pass for all supported Python versions.
|
||||
|
||||
Tips
|
||||
----
|
||||
|
|
|
@ -7,10 +7,6 @@ fuzzysearch
|
|||
:target: https://pypi.python.org/pypi/fuzzysearch
|
||||
:alt: Latest Version
|
||||
|
||||
.. image:: https://img.shields.io/travis/taleinat/fuzzysearch.svg?branch=master
|
||||
:target: https://travis-ci.org/taleinat/fuzzysearch/branches
|
||||
:alt: Build & Tests Status
|
||||
|
||||
.. image:: https://img.shields.io/coveralls/taleinat/fuzzysearch.svg?branch=master
|
||||
:target: https://coveralls.io/r/taleinat/fuzzysearch?branch=master
|
||||
:alt: Test Coverage
|
||||
|
|
76
appveyor.yml
76
appveyor.yml
|
@ -1,76 +0,0 @@
|
|||
environment:
|
||||
matrix:
|
||||
|
||||
# For Python versions available on Appveyor, see
|
||||
# https://www.appveyor.com/docs/windows-images-software/#python
|
||||
|
||||
- PYTHON: 'C:\Python27'
|
||||
TOX_ENV: 'py27'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python'
|
||||
- PYTHON: 'C:\Python27-x64'
|
||||
TOX_ENV: 'py27'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python'
|
||||
- PYTHON: 'C:\Python35'
|
||||
TOX_ENV: 'py35'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python35'
|
||||
- PYTHON: 'C:\Python35-x64'
|
||||
TOX_ENV: 'py35'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python35'
|
||||
- PYTHON: 'C:\Python36'
|
||||
TOX_ENV: 'py36'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python36'
|
||||
- PYTHON: 'C:\Python36-x64'
|
||||
TOX_ENV: 'py36'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python36'
|
||||
- PYTHON: 'C:\Python37'
|
||||
TOX_ENV: 'py37'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python37'
|
||||
- PYTHON: 'C:\Python37-x64'
|
||||
TOX_ENV: 'py37'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python37'
|
||||
- PYTHON: 'C:\Python38'
|
||||
TOX_ENV: 'py38'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python38'
|
||||
- PYTHON: 'C:\Python38-x64'
|
||||
TOX_ENV: 'py38'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python38'
|
||||
- PYTHON: 'C:\Python39'
|
||||
TOX_ENV: 'py39'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python39'
|
||||
- PYTHON: 'C:\Python39-x64'
|
||||
TOX_ENV: 'py39'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python39'
|
||||
- PYTHON: 'C:\Python310'
|
||||
TOX_ENV: 'py310'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python310'
|
||||
- PYTHON: 'C:\Python310-x64'
|
||||
TOX_ENV: 'py310'
|
||||
PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python310'
|
||||
# TODO: Also test with PyPy
|
||||
|
||||
install:
|
||||
- 'set PATH=%PYTHON_APPDATA_DIR%\Scripts;%PYTHON%\Scripts;%PYTHON%;%PATH%'
|
||||
- 'python -m pip install --user -U pip setuptools'
|
||||
- 'pip install --user virtualenv'
|
||||
- 'pip install --user "tox~=4.9"'
|
||||
- 'pip install --user coveralls'
|
||||
# We need wheel installed to build wheels
|
||||
- 'pip install --user wheel'
|
||||
|
||||
build_script:
|
||||
- 'call' # Do nothing.
|
||||
|
||||
test_script:
|
||||
- 'build.cmd tox run -e %TOX_ENV%-without_coverage --discover %PYTHON% -v'
|
||||
|
||||
after_test:
|
||||
- 'build.cmd python setup.py bdist_wheel'
|
||||
|
||||
artifacts:
|
||||
# bdist_wheel puts your built wheel in the dist directory
|
||||
- path: dist\*
|
||||
|
||||
#on_success:
|
||||
# You can use this step to upload your artifacts to a public website.
|
||||
# See Appveyor's documentation for more details. Or you can simply
|
||||
# access your wheels from the Appveyor "artifacts" tab for your build.
|
Loading…
Reference in New Issue