]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Add testing and document support for Python 3.7
authorJon Dufresne <jon.dufresne@gmail.com>
Sat, 8 Dec 2018 12:50:45 +0000 (04:50 -0800)
committerAarni Koskela <akx@iki.fi>
Tue, 18 Dec 2018 12:32:33 +0000 (14:32 +0200)
.ci/appveyor.yml
.travis.yml
setup.py
tox.ini

index f357713f4819b1902c038d511bc918a485102902..d4135e0800fad3c419e23e8912b96244a23da496 100644 (file)
@@ -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"
 
index 63dcd3ec04b8ddaa7931fee74c909f7287190f46..c9c0a9b7bb4430e7138610cccc0661645b38bb52 100644 (file)
@@ -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:
index 27c7541bbb9bde49f02560dfcda4e5a08d081f94..0032a3a056138e9ce9472b678659857a664f4f31 100755 (executable)
--- 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 b46fed7045b4ab21b558a0de2dd023fe38469c41..87a53f0f94dbe030036e1fd731bd421cf19a65c4 100644 (file)
--- 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