Skip to content

Commit

Permalink
Add Python 3.7 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sanand0 committed Feb 10, 2019
1 parent cf34570 commit 8b1393f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Config file for automatic testing at travis-ci.org

language: python
# Python 3.7 works only in Xenial with sudo
# https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-425720905
dist: xenial
sudo: yes

python:
- '3.7'
- '3.6'
- '2.7'
- 'pypy'
Expand All @@ -11,4 +16,6 @@ python:
install: pip install -r requirements.txt

# command to run tests, e.g. python setup.py test
script: python setup.py test
script:
- flake8
- python setup.py test
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Release

make release-test

2. Update ``__version__ = x.x.x`` in :mod:`xmljson`
2. Update ``__version__ = x.x.x`` in :mod:`xmljson` and in ``setup.py``

3. Update ``HISTORY.rst`` with changes

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from setuptools import setup
except ImportError:
from distutils.core import setup
import xmljson

with io.open('README.rst', encoding='utf-8') as readme_file:
readme = readme_file.read()
Expand All @@ -16,7 +15,7 @@

setup(
name='xmljson',
version=xmljson.__version__,
version='0.2.0',
description='Converts XML into JSON/Python dicts/arrays and vice-versa.',
long_description=readme + '\n\n' + history,
author='S Anand',
Expand All @@ -41,6 +40,7 @@
'Programming Language :: Python :: 2.7', # For collections.Counter
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Python Modules',
],
Expand Down

0 comments on commit 8b1393f

Please sign in to comment.