Skip to content

Commit

Permalink
Run CI on Py.test 6 on new Pythons
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Nov 10, 2020
1 parent 512092b commit bd22801
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
18 changes: 17 additions & 1 deletion .travis.yml
Expand Up @@ -11,33 +11,49 @@ matrix:
include:
- os: linux
python: 2.7
env:
- PYTEST_VERSION=4.3.1
- os: linux
python: 2.7
env:
- CDECIMAL=m3-cdecimal
- PYTEST_VERSION=4.3.1
- os: linux
dist: trusty
python: pypy
env:
- PYTEST_VERSION=4.3.1
- os: linux
dist: trusty
python: pypy3
env:
- PYTEST_VERSION=6.1.2
- os: linux
python: 3.4
env:
- PYTEST_VERSION=4.3.1
- os: linux
python: 3.5
env:
- PYTHON_TEST_FLAGS=-bb
- PYTEST_VERSION=6.1.2
- os: linux
python: 3.6
env:
- PYTEST_VERSION=6.1.2
- os: linux
python: 3.7
env:
- PYTEST_VERSION=6.1.2
- os: linux
python: 3.8
env:
- PYTEST_VERSION=6.1.2

install:
- bash .ci/deps.${TRAVIS_OS_NAME}.sh
- pip install --upgrade pip
- pip install --upgrade $CDECIMAL pytest==4.3.1 pytest-cov==2.6.1 freezegun==0.3.12 'backports.zoneinfo;python_version>="3.6" and python_version<"3.9"'
- pip install --upgrade $CDECIMAL pytest==$PYTEST_VERSION pytest-cov freezegun==0.3.12 'backports.zoneinfo;python_version>="3.6" and python_version<"3.9"'
- pip install --editable .

script:
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Expand Up @@ -3,8 +3,9 @@ envlist = py27, pypy, py34, py35, py36, py37, pypy3, py27-cdecimal

[testenv]
deps =
pytest==4.3.1
pytest-cov==2.6.1
pytest==4.3.1;python_version<"3.5"
pytest==6.1.2;python_version>="3.5"
pytest-cov
cdecimal: m3-cdecimal
freezegun==0.3.12
backports.zoneinfo;python_version>"3.6" and python_version<"3.9"
Expand Down

0 comments on commit bd22801

Please sign in to comment.