summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-12-08 04:50:45 -0800
committerAarni Koskela <akx@iki.fi>2018-12-18 14:32:33 +0200
commit5dbc37af339aff21439d007f5ed11e5a2862609e (patch)
tree9654d68bf0a9d74e34ffda4cd47b1d4355a6c93f
parentc4f790500fd946f6d00bbc90c32086f881b23ba6 (diff)
downloadbabel-5dbc37af339aff21439d007f5ed11e5a2862609e.tar.gz
Add testing and document support for Python 3.7
-rw-r--r--.ci/appveyor.yml2
-rw-r--r--.travis.yml7
-rwxr-xr-xsetup.py1
-rw-r--r--tox.ini4
4 files changed, 10 insertions, 4 deletions
diff --git a/.ci/appveyor.yml b/.ci/appveyor.yml
index f357713..d4135e0 100644
--- a/.ci/appveyor.yml
+++ b/.ci/appveyor.yml
@@ -27,7 +27,7 @@ install:
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
# Build data files
- - "pip install --upgrade pytest==3.3.2 pytest-cov==2.5.1 codecov freezegun==0.3.9"
+ - "pip install --upgrade pytest==3.3.2 pytest-cov==2.5.1 codecov freezegun==0.3.11"
- "pip install --editable ."
- "python setup.py import_cldr"
diff --git a/.travis.yml b/.travis.yml
index 63dcd3e..c9c0a9b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,4 @@
+dist: xenial
language: python
# Use travis docker infrastructure for greater speed
@@ -18,8 +19,10 @@ matrix:
env:
- CDECIMAL=m3-cdecimal
- os: linux
+ dist: trusty
python: pypy
- os: linux
+ dist: trusty
python: pypy3
- os: linux
python: 3.4
@@ -29,11 +32,13 @@ matrix:
- PYTHON_TEST_FLAGS=-bb
- os: linux
python: 3.6
+ - os: linux
+ python: 3.7
install:
- bash .ci/deps.${TRAVIS_OS_NAME}.sh
- pip install --upgrade pip
- - pip install --upgrade $CDECIMAL pytest==3.3.2 pytest-cov==2.5.1 freezegun==0.3.9
+ - pip install --upgrade $CDECIMAL pytest==3.3.2 pytest-cov==2.5.1 freezegun==0.3.11
- pip install --editable .
script:
diff --git a/setup.py b/setup.py
index 27c7541..0032a3a 100755
--- a/setup.py
+++ b/setup.py
@@ -50,6 +50,7 @@ setup(
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
diff --git a/tox.ini b/tox.ini
index b46fed7..87a53f0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,12 +1,12 @@
[tox]
-envlist = py27, pypy, py34, py35, py36, pypy3, py27-cdecimal
+envlist = py27, pypy, py34, py35, py36, py37, pypy3, py27-cdecimal
[testenv]
deps =
pytest==3.3.2
pytest-cov==2.5.1
cdecimal: m3-cdecimal
- freezegun==0.3.9
+ freezegun==0.3.11
whitelist_externals = make
commands = make clean-cldr test
passenv = PYTHON_TEST_FLAGS