summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2020-11-10 16:19:04 +0200
committerAarni Koskela <akx@iki.fi>2020-11-12 11:42:54 +0200
commit58de8342f865df88697a4a166191e880e3c84d82 (patch)
tree58d7ebfbd285afa342a2dde114e538c933779732 /tox.ini
parentd1bbc08e845d03d8e1f0dfa0e04983d755f39cb5 (diff)
downloadbabel-58de8342f865df88697a4a166191e880e3c84d82.tar.gz
Replace Travis + Appveyor with GitHub Actions (WIP)github-ci
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini29
1 files changed, 17 insertions, 12 deletions
diff --git a/tox.ini b/tox.ini
index 27faf5b..14b450f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,20 +1,25 @@
[tox]
-envlist = py27, pypy, py34, py35, py36, py37, pypy3, py27-cdecimal
+envlist =
+ py{36,37,38,39}
+ pypy3
[testenv]
deps =
- pytest==4.3.1;python_version<"3.5"
- pytest==6.1.2;python_version>="3.5"
+ pytest
pytest-cov
- cdecimal: m3-cdecimal
freezegun==0.3.12
- backports.zoneinfo;python_version>"3.6" and python_version<"3.9"
+ backports.zoneinfo;python_version<"3.9"
+ tzdata;sys_platform == 'win32'
whitelist_externals = make
-commands = make clean-cldr test
-passenv = PYTHON_TEST_FLAGS
+commands = make clean-cldr test-cov
+passenv =
+ BABEL_*
+ PYTHON_*
-[pep8]
-ignore = E501,E731,W503
-
-[flake8]
-ignore = E501,E731,W503
+[gh-actions]
+python =
+ pypy3: pypy3
+ 3.6: py36
+ 3.7: py37
+ 3.8: py38
+ 3.9: py39