Skip to content

Commit

Permalink
drop py36 tests; make py39 default test env
Browse files Browse the repository at this point in the history
  • Loading branch information
jantman committed Nov 25, 2022
1 parent 6db65d7 commit 4b600bf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
14 changes: 6 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,18 @@ env:

matrix:
include:
- python: "3.6"
env: TOXENV=py36 DB_CONNSTRING='mysql+pymysql://[email protected]:3306/budgettest?charset=utf8mb4'
- python: "3.7"
env: TOXENV=py37 DB_CONNSTRING='mysql+pymysql://[email protected]:3306/budgettest?charset=utf8mb4'
dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
- python: "3.8"
env: TOXENV=py38 DB_CONNSTRING='mysql+pymysql://[email protected]:3306/budgettest?charset=utf8mb4'
- python: "3.8"
env: TOXENV=acceptance38 DB_CONNSTRING='mysql+pymysql://[email protected]:3306/budgettest36?charset=utf8mb4'
- python: "3.9"
env: TOXENV=py39 DB_CONNSTRING='mysql+pymysql://[email protected]:3306/budgettest?charset=utf8mb4'
- python: "3.9"
env: TOXENV=acceptance39 DB_CONNSTRING='mysql+pymysql://[email protected]:3306/budgettest36?charset=utf8mb4'
dist: xenial # required for Python 3.8 (travis-ci/travis-ci#9069)
- python: "3.8"
- python: "3.9"
env: TOXENV=migrations MYSQL_USER='root' MYSQL_HOST='127.0.0.1' MYSQL_DBNAME_LEFT='alembicLeft' MYSQL_DBNAME_RIGHT='alembicRight' DB_CONNSTRING='mysql+pymysql://[email protected]:3306/alembicLeft?charset=utf8mb4'
dist: xenial # required for Python 3.8 (travis-ci/travis-ci#9069)
- python: "3.8"
- python: "3.9"
env: TOXENV=docs
dist: xenial # required for Python 3.8 (travis-ci/travis-ci#9069)

Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Unreleased Changes
* Implement transaction downloading via `Plaid <https://plaid.com/>`__.
* Switch tests from deprecated ``pep8`` / ``pytest-pep8`` packages to ``pycodestyle`` / ``pytest-pycodestyle``.
* Add optional ``VERSIONFINDER_DEBUG`` env var; set to ``true`` to enable logging for versionfinder / pip / git.
* Drop testing for Python 3.6; move default test environment to 3.9.

1.0.0 (2018-07-07)
------------------
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ deps =
sphinx==1.5.5
sphinx_rtd_theme==0.5.0
sphinx-js==1.5.2
basepython = python3.8
basepython = python3.9
commands =
python --version
virtualenv --version
Expand Down Expand Up @@ -113,7 +113,7 @@ deps =
docker==2.2.1
passenv = {[testenv]passenv} DOCKER_TEST_TAG DOCKER_BUILD_VER
setenv = {[testenv]setenv}
basepython = python3.8
basepython = python3.9
sitepackages = False
whitelist_externals = env test
commands =
Expand All @@ -123,7 +123,7 @@ commands =
pip freeze
python {toxinidir}/biweeklybudget/tests/docker_build.py {toxinidir} {distdir}

[testenv:acceptance38]
[testenv:acceptance39]
deps =
-r{toxinidir}/requirements.txt
cov-core
Expand All @@ -142,7 +142,7 @@ deps =
retrying
passenv = {[testenv]passenv}
setenv = {[testenv]setenv}
basepython = python3.8
basepython = python3.9
sitepackages = False
whitelist_externals = env test
commands =
Expand All @@ -166,7 +166,7 @@ deps =
retrying
passenv=CI TRAVIS* CONTINUOUS_INTEGRATION NO_REFRESH_DB NO_CLASS_REFRESH_DB MYSQL_*
setenv = {[testenv]setenv}
basepython = python3.8
basepython = python3.9
sitepackages = False
whitelist_externals = env test
commands =
Expand Down

0 comments on commit 4b600bf

Please sign in to comment.