Skip to content

Commit

Permalink
Drop 2.6 and 3.4 tests on macOS.
Browse files Browse the repository at this point in the history
Travis's base image for macOS comes with OpenSSL 1.1 that
is not supported by 2.6 / 3.4
  • Loading branch information
Kentzo committed Feb 11, 2020
1 parent 2b68323 commit 1f9029f
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ build: off
install:
- "%PYTHON%\\python.exe -m pip install --upgrade pip"
- "%PYTHON%\\python.exe -m pip install --upgrade wheel>=0.30.0 setuptools>=36.6.0"
- "%PYTHON%\\python.exe -m pip install --upgrade tox==3.14.0 codecov==2.0.15 tox-venv==0.4.0"
- "%PYTHON%\\python.exe -m pip install -r appveyor-requirements.txt"

test_script:
- "%PYTHON%\\python.exe -m tox -vv -- --cov-report=xml"
Expand Down
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,9 @@ jobs:
- &osx
os: osx
language: generic
env: PYENV_VERSION=2.6.9 TOXENV=py26
- <<: *osx
env: PYENV_VERSION=2.7.17 TOXENV=py27
- <<: *osx
env: PYENV_VERSION=2.7-dev TOXENV=py27
- <<: *osx
env: PYENV_VERSION=3.4.10 TOXENV=py34
- <<: *osx
env: PYENV_VERSION=3.5.8 TOXENV=py35
- <<: *osx
Expand Down Expand Up @@ -98,7 +94,7 @@ before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then git -C "$(pyenv root)" fetch && git -C "$(pyenv root)" checkout master && git -C "$(pyenv root)" pull; fi

install:
- python -m pip install tox==3.14.0 codecov==2.0.15 tox-pyenv==1.1.0 virtualenv==15.2.0
- python -m pip install -r travis-requirements.txt
- pyenv install $(pyenv exec python --version >/dev/null 2>&1 && echo "--skip-existing" || echo "--force") "${PYENV_VERSION}"

script:
Expand Down
3 changes: 3 additions & 0 deletions appveyor-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tox==3.14.3
codecov==2.0.15
tox-venv==0.4.0
27 changes: 16 additions & 11 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,21 @@ long_description = file: README.rst
zip_safe = 1
python_requires = >=2.6,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,
tests_require =
pycodestyle<2.5.0; python_version < "2.7"
pycodestyle>=2.5.0; python_version >= "2.7"
pytest<=3.2.5; python_version < "2.7"
pytest<5.0.0; python_version >= "2.7" and python_version < "3.5"
pytest>=5.0.0; python_version >= "3.5"
pytest-cov<2.6.0; python_version < "2.7"
pytest-cov>=2.6.0; python_version >= "2.7"
pytest-mock<1.7.0; python_version < "2.7"
pytest-mock>=1.7.0; python_version >= "2.7"
setuptools<=36.8.0; python_version < "2.7"
colorama==0.4.1; python_version >= "2.7" and python_version < "3.5"
coverage==4.5.4; python_version < "3.5"
importlib-metadata==0.23; python_version >= "2.7" and python_version < "3.5"
more-itertools==7.2.0; python_version >= "3.4" and python_version < "3.5"
pycodestyle==2.4.0; python_version < "2.7"
pycodestyle==2.5.0; python_version >= "2.7"
pytest==3.2.5; python_version < "2.7"
pytest==4.6.6; python_version >= "2.7" and python_version < "3.5"
pytest==5.2.2; python_version >= "3.5"
pytest-cov==2.5.1; python_version < "2.7"
pytest-cov==2.8.1; python_version >= "2.7"
pytest-mock==1.6.3; python_version < "2.7"
pytest-mock==1.11.2; python_version >= "2.7"
setuptools==36.8.0; python_version < "2.7"
zipp==1.1.0; python_version >= "2.7" and python_version < "3.6"

[tool:pytest]
addopts= --cov=git_archive_all --cov-report=term --cov-branch --showlocals -vv
Expand All @@ -68,7 +73,7 @@ envlist =
skipsdist = true

[testenv]
deps = -rrequirements.txt
deps = -rtest-requirements.txt
commands = pytest {posargs}
tox_pyenv_fallback = false

Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions travis-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tox==3.14.3
codecov==2.0.15
tox-pyenv==1.1.0
virtualenv==15.2.0

0 comments on commit 1f9029f

Please sign in to comment.