diff options
-rw-r--r-- | .travis.yml | 9 | ||||
-rwxr-xr-x | setup.py | 2 | ||||
-rw-r--r-- | tox.ini | 8 |
3 files changed, 17 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index cda7cc9..d1f56cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ python: env: - TOXENV=py27 - TOXENV=py34 - - TOXENV=pypy3 - TOXENV=flake8 # https://github.com/travis-ci/travis-ci/issues/4794 @@ -14,8 +13,16 @@ matrix: include: - python: pypy-5.4 env: TOXENV=pypy + - python: pypy3.5-5.8.0 + env: TOXENV=pypy3 - python: 3.5 env: TOXENV=py35 + - python: 3.6 + env: TOXENV=py36 + - python: 3.7 + env: TOXENV=py37 + dist: xenial + sudo: true # command to install dependencies install: @@ -3,6 +3,7 @@ import codecs import os import re + from setuptools import setup @@ -14,6 +15,7 @@ def get_version(filename): contents = fp.read() return re.search("__version__ = ['\"]([^'\"]+)['\"]", contents).group(1) + version = get_version('mimeparse.py') if not version: raise RuntimeError('Cannot find version information') @@ -1,10 +1,16 @@ [tox] -envlist = py35,py34,py32,py27,pypy,pypy3,flake8 +envlist = py37,py36,py35,py34,py32,py27,pypy,pypy3,flake8 [testenv] commands = python --version ./mimeparse_test.py +[testenv:py37] +basepython = python3.7 + +[testenv:py36] +basepython = python3.6 + [testenv:py35] basepython = python3.5 |