Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ jobs:
# using tox
toxify:
docker:
- image: circleci/python:3.6.6
- image: circleci/python:3.8.5
environment:
TOXENV: py27,py35,py36
TOXENV: py37,py38
steps: &toxsteps
- checkout
- restore_cache:
Expand All @@ -22,17 +22,10 @@ jobs:
key: pip_cache_{{ checksum "setup.py" }}
paths:
- "~/project/.tox"
toxify3.7:
docker:
- image: circleci/python:3.7-rc
environment:
TOXENV: py37
steps: *toxsteps

workflows:
version: 2

build:
jobs:
- toxify
- toxify3.7
File renamed without changes.
29 changes: 2 additions & 27 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,33 +1,8 @@
[tox]
envlist = py27,py35,py36,py37
envlist = py37,py38
whitelist_externals = {toxinidir}/utests.py

[testenv]
deps=
pytest
unittest2
flake8
pylint
pymongo
python-dateutil
commands=
python -m pytest {toxinidir}/tests


[testenv:py36]
deps=
flake8
pylint
pymongo
python-dateutil
pytest
pytest-cov
pytest-asyncio
commands=
python -m pytest --cov=trafaret {toxinidir}/tests {toxinidir}/tests3k
flake8 trafaret

[testenv:py37]
deps=
pyannotate
flake8
Expand All @@ -38,7 +13,7 @@ deps=
pytest-cov
pytest-asyncio
commands=
python -m pytest --cov=trafaret {toxinidir}/tests {toxinidir}/tests3k
python -m pytest --cov=trafaret {toxinidir}/tests
flake8 trafaret

[flake8]
Expand Down